Fix warning in homecache

remotes/origin/fix-10825
Robin Appelman 12 years ago
parent 3d92f963f4
commit 1d8a88dd1b
  1. 3
      lib/private/files/cache/homecache.php

@ -39,6 +39,9 @@ class HomeCache extends Cache {
$totalSize = 0 + $sum;
$unencryptedSize = 0 + $unencryptedSum;
$entry['size'] += 0;
if (!isset($entry['unencrypted_size'])) {
$entry['unencrypted_size'] = 0;
}
$entry['unencrypted_size'] += 0;
if ($entry['size'] !== $totalSize) {
$this->update($id, array('size' => $totalSize));

Loading…
Cancel
Save