diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-03-07 14:18:27 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-03-07 14:18:27 +0100 |
commit | 3970d1f8750132f73cac4653c9943995ebbb28ae (patch) | |
tree | cdeb82513f77920d3daeadbf55815ea9c4e4328e /apps/files | |
parent | 4a4f705adc32831c4e90422598dbe0e89c6acd80 (diff) | |
download | nextcloud-server-3970d1f8750132f73cac4653c9943995ebbb28ae.tar.gz nextcloud-server-3970d1f8750132f73cac4653c9943995ebbb28ae.zip |
remove debug output
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/ajax/download.php | 3 |
1 files changed, 1 insertions, 2 deletions
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); |