]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove debug output
authorBjörn Schießle <schiessle@owncloud.com>
Thu, 7 Mar 2013 13:18:27 +0000 (14:18 +0100)
committerBjörn Schießle <schiessle@owncloud.com>
Thu, 7 Mar 2013 13:18:27 +0000 (14:18 +0100)
apps/files/ajax/download.php

index 163232ef0016d753f47ae8ff666a8a76711ba737..7c8dcb372e24c5d4517b1ac5459e1c03feb9744a 100644 (file)
@@ -34,10 +34,9 @@ $files = $_GET["files"];
 $dir = $_GET["dir"];
 
 $files_list = json_decode($files);
+// in case we get only a single file
 if ($files_list === NULL ) {
        $files_list = array($files);
 }
 
-foreach ($files_list as $f) error_log("file: $f");
-
 OC_Files::get($dir, $files_list, $_SERVER['REQUEST_METHOD'] == 'HEAD' ? true : false);