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

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2024-08-20 12:50:42 +02:00
parent 560282a47b
commit 5ca9d884d7
No known key found for this signature in database
GPG key ID: 42B69D8A64526EFB

View file

@ -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);
}
}
}