diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-06-12 00:50:13 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-06-12 00:50:13 +0200 |
commit | 5425c3d1e919f305930176aef6f531eb2d42f7dd (patch) | |
tree | 78822ec7002dca390f53c2e37595f777f3a9438e /lib/filestorage.php | |
parent | 5a284afae6afc5060f901837b1adf96cbc2b3e03 (diff) | |
download | nextcloud-server-5425c3d1e919f305930176aef6f531eb2d42f7dd.tar.gz nextcloud-server-5425c3d1e919f305930176aef6f531eb2d42f7dd.zip |
fix delTree
Diffstat (limited to 'lib/filestorage.php')
-rw-r--r-- | lib/filestorage.php | 2 |
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)){ |