diff --git a/lib/private/Files/Cache/Updater.php b/lib/private/Files/Cache/Updater.php index e8c6d32599e46..ea2eb4fac99eb 100644 --- a/lib/private/Files/Cache/Updater.php +++ b/lib/private/Files/Cache/Updater.php @@ -150,9 +150,6 @@ public function remove($path) { $this->propagator->propagateChange($path, time(), -$entry->getSize()); } else { $this->propagator->propagateChange($path, time()); - if ($this->cache instanceof Cache) { - $this->cache->correctFolderSize($parent); - } } }