Skip to content
Snippets Groups Projects
Commit 5425c3d1 authored by Robin Appelman's avatar Robin Appelman
Browse files

fix delTree

parent 5a284afa
No related branches found
No related tags found
No related merge requests found
......@@ -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)){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment