diff options
author | Robin Appelman <robin@icewind.nl> | 2024-12-12 17:54:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-12 17:54:48 +0100 |
commit | c21888e6ae1a267588fb110ec27cfc6e3b1f484e (patch) | |
tree | 73a735405f91e2284e53c4087e0310ca6672f383 /lib | |
parent | 7cc8a1bb66c9539c7f190be54aff8645543f7dbe (diff) | |
parent | 5ca9d884d78fd4439a74dde02fdcafb3ac7a40f4 (diff) | |
download | nextcloud-server-c21888e6ae1a267588fb110ec27cfc6e3b1f484e.tar.gz nextcloud-server-c21888e6ae1a267588fb110ec27cfc6e3b1f484e.zip |
Merge pull request #47342 from nextcloud/cache-delete-notfound-size
fix: don't recalculate folder size in Cache::delete if the entry didn't exist
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 42812dbc882..6cf3bd096d8 100644 --- a/lib/private/Files/Cache/Updater.php +++ b/lib/private/Files/Cache/Updater.php @@ -152,9 +152,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); - } } } |