Browse Source
fix: don't recalculate folder size in Cache::delete if the entry didn't exist
Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/47342/head
Robin Appelman
1 year ago
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
1 changed files with
0 additions and
3 deletions
-
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); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|