]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix check for success
authorThomas Schmidt <tschmidt@suse.de>
Thu, 29 Sep 2011 13:53:31 +0000 (15:53 +0200)
committerThomas Schmidt <tschmidt@suse.de>
Thu, 29 Sep 2011 13:53:31 +0000 (15:53 +0200)
files/ajax/delete.php

index b6bc859897c7cbb5dd04065c818d5c13c526cbc1..48df5862db2d763978fc6a5d040b94bc7c279c27 100644 (file)
@@ -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 )));