diff --git a/lib/private/Files/Cache/Updater.php b/lib/private/Files/Cache/Updater.php index 42812dbc8822e..6cf3bd096d8db 100644 --- a/lib/private/Files/Cache/Updater.php +++ b/lib/private/Files/Cache/Updater.php @@ -152,9 +152,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); - } } }