fix delTree

This commit is contained in:
Robin Appelman 2011-06-12 00:50:13 +02:00
parent 5a284afae6
commit 5425c3d1e9
1 changed files with 1 additions and 1 deletions

View File

@ -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)){