diff options
author | Thomas Schmidt <tschmidt@suse.de> | 2011-09-29 15:53:31 +0200 |
---|---|---|
committer | Thomas Schmidt <tschmidt@suse.de> | 2011-09-29 15:53:31 +0200 |
commit | 387b94b740da98ccb95e1774378fa5b312218394 (patch) | |
tree | 03d9d8229cf0535f1fb51a2f10f9af8ede1a022f /files/ajax | |
parent | 2086bc4be77ba64337b721cec1cac544c1c58452 (diff) | |
download | nextcloud-server-387b94b740da98ccb95e1774378fa5b312218394.tar.gz nextcloud-server-387b94b740da98ccb95e1774378fa5b312218394.zip |
fix check for success
Diffstat (limited to 'files/ajax')
-rw-r--r-- | files/ajax/delete.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ajax/delete.php b/files/ajax/delete.php index b6bc859897c..48df5862db2 100644 --- a/files/ajax/delete.php +++ b/files/ajax/delete.php @@ -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 ))); |