Browse Source

fix: don't recalculate folder size in Cache::delete if the entry didn't exist

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/47342/head
Robin Appelman 1 year ago
parent
commit
5ca9d884d7
No known key found for this signature in database GPG Key ID: 42B69D8A64526EFB
  1. 3
      lib/private/Files/Cache/Updater.php

3
lib/private/Files/Cache/Updater.php

@ -150,9 +150,6 @@ class Updater implements IUpdater {
$this->propagator->propagateChange($path, time(), -$entry->getSize());
} else {
$this->propagator->propagateChange($path, time());
if ($this->cache instanceof Cache) {
$this->cache->correctFolderSize($parent);
}
}
}

Loading…
Cancel
Save