summaryrefslogtreecommitdiffstats
path: root/files/ajax
diff options
context:
space:
mode:
authorThomas Schmidt <tschmidt@suse.de>2011-09-29 15:53:31 +0200
committerThomas Schmidt <tschmidt@suse.de>2011-09-29 15:53:31 +0200
commit387b94b740da98ccb95e1774378fa5b312218394 (patch)
tree03d9d8229cf0535f1fb51a2f10f9af8ede1a022f /files/ajax
parent2086bc4be77ba64337b721cec1cac544c1c58452 (diff)
downloadnextcloud-server-387b94b740da98ccb95e1774378fa5b312218394.tar.gz
nextcloud-server-387b94b740da98ccb95e1774378fa5b312218394.zip
fix check for success
Diffstat (limited to 'files/ajax')
-rw-r--r--files/ajax/delete.php2
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 )));