Commit 8dda3da0 authored by Ad Schellevis's avatar Ad Schellevis

add filesize to getBackups

parent 46d28496
...@@ -346,6 +346,8 @@ class Config extends Singleton ...@@ -346,6 +346,8 @@ class Config extends Singleton
if (isset($xmlNode->revision)) { if (isset($xmlNode->revision)) {
$result[$filename] = $this->toArray(null, $xmlNode->revision); $result[$filename] = $this->toArray(null, $xmlNode->revision);
} }
// append filesize to revision info object
$result[$filename]['size'] = filesize($filename);
} }
return $result; return $result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment