fix delTree
This commit is contained in:
parent
5a284afae6
commit
5425c3d1e9
1 changed files with 1 additions and 1 deletions
|
@ -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)){
|
||||
|
|
Loading…
Reference in a new issue