summaryrefslogtreecommitdiffstats
path: root/lib/filestorage.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/filestorage.php')
-rw-r--r--lib/filestorage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filestorage.php b/lib/filestorage.php
index 157e44ff298..819ad2e60b3 100644
--- a/lib/filestorage.php
+++ b/lib/filestorage.php
@@ -377,7 +377,7 @@ class OC_FILESTORAGE_LOCAL extends OC_FILESTORAGE{
if ($item == '.' || $item == '..') continue;
if(is_file($dir.'/'.$item)){
if(unlink($dir.'/'.$item)){
- $this->clearFolderSizeCache($path);
+ $this->clearFolderSizeCache($dir);
}
}elseif(is_dir($dir.'/'.$item)){
if (!$this->delTree($dirRelative. "/" . $item)){