From: Björn Schießle Date: Thu, 7 Mar 2013 13:18:27 +0000 (+0100) Subject: remove debug output X-Git-Tag: v5.0.0RC3~8^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3970d1f8750132f73cac4653c9943995ebbb28ae;p=nextcloud-server.git remove debug output --- diff --git a/apps/files/ajax/download.php b/apps/files/ajax/download.php index 163232ef001..7c8dcb372e2 100644 --- a/apps/files/ajax/download.php +++ b/apps/files/ajax/download.php @@ -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);