From 3970d1f8750132f73cac4653c9943995ebbb28ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= Date: Thu, 7 Mar 2013 14:18:27 +0100 Subject: [PATCH] remove debug output --- apps/files/ajax/download.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/files/ajax/download.php b/apps/files/ajax/download.php index 163232ef00..7c8dcb372e 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);