Skip to content
Snippets Groups Projects
Commit 387b94b7 authored by Thomas Schmidt's avatar Thomas Schmidt
Browse files

fix check for success

parent 2086bc4b
No related branches found
No related tags found
No related merge requests found
......@@ -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 )));
......
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