Skip to content

Commit

Permalink
fix: don't recalculate folder size in Cache::delete if the entry didn…
Browse files Browse the repository at this point in the history
…'t exist

Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 committed Aug 20, 2024
1 parent 560282a commit 5ca9d88
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/private/Files/Cache/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

Expand Down

0 comments on commit 5ca9d88

Please sign in to comment.