fix check for success
This commit is contained in:
parent
2086bc4be7
commit
387b94b740
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ foreach($files as $file) {
|
|||
}
|
||||
}
|
||||
|
||||
if(success) {
|
||||
if($success) {
|
||||
OC_JSON::success(array("data" => array( "dir" => $dir, "files" => $files )));
|
||||
} else {
|
||||
OC_JSON::error(array("data" => array( "message" => "Could not delete:\n" . $filesWithError )));
|
||||
|
|
Loading…
Reference in a new issue