diff options
author | Robin Appelman <robin@icewind.nl> | 2024-08-20 12:50:42 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2024-08-20 12:50:42 +0200 |
commit | 5ca9d884d78fd4439a74dde02fdcafb3ac7a40f4 (patch) | |
tree | 2ba0124244ea27162ce3ebc66d3983033dce4e47 /lib | |
parent | 560282a47bf3f9dca4653f89d530a6e1dd144f5f (diff) | |
download | nextcloud-server-5ca9d884d78fd4439a74dde02fdcafb3ac7a40f4.tar.gz nextcloud-server-5ca9d884d78fd4439a74dde02fdcafb3ac7a40f4.zip |
fix: don't recalculate folder size in Cache::delete if the entry didn't existcache-delete-notfound-size
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/Cache/Updater.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/private/Files/Cache/Updater.php b/lib/private/Files/Cache/Updater.php index e8c6d32599e..ea2eb4fac99 100644 --- a/lib/private/Files/Cache/Updater.php +++ b/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); - } } } |