From: Jakob Sack Date: Sun, 19 Jun 2011 13:08:28 +0000 (+0200) Subject: Removed debug messages X-Git-Tag: v3.0~267^2~512 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d5b550395af51d1299da4600870a403b7f7921d8;p=nextcloud-server.git Removed debug messages --- diff --git a/lib/files.php b/lib/files.php index 9e66f9dab82..fca311833b5 100644 --- a/lib/files.php +++ b/lib/files.php @@ -30,15 +30,6 @@ require_once("log.php"); */ class OC_FILES { static $tmpFiles=array(); - /** - * show a web GUI filebrowser - * - * @param basedir $basedir - * @param dir $dir - */ - public static function showBrowser($basedir,$dir){ - echo '
'; - } /** * get the content of a directory @@ -101,7 +92,7 @@ class OC_FILES { if(strpos($files,';')){ $files=explode(';',$files); } - echo 't'; + if(is_array($files)){ $zip = new ZipArchive(); $filename = sys_get_temp_dir()."/ownCloud.zip"; @@ -300,7 +291,6 @@ class OC_FILES { global $SERVERROOT; global $WEBROOT; $size=OC_HELPER::humanFileSize($size); - echo $size; $size=substr($size,0,-1);//strip the B $size=str_replace(' ','',$size); //remove the space between the size and the postfix $content = "ErrorDocument 404 /$WEBROOT/templates/404.php\n";//custom 404 error page