Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorThomas Schmidt <tschmidt@suse.de>2011-09-29 17:53:31 +0400
committerThomas Schmidt <tschmidt@suse.de>2011-09-29 17:53:31 +0400
commit387b94b740da98ccb95e1774378fa5b312218394 (patch)
tree03d9d8229cf0535f1fb51a2f10f9af8ede1a022f /files
parent2086bc4be77ba64337b721cec1cac544c1c58452 (diff)
fix check for success
Diffstat (limited to 'files')
-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 )));