From 0f49d57d2783c79340ecb33d4a7aab0fdcfc628e Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 18 Apr 2011 15:36:56 +0200 Subject: dissable loggin for now --- lib/files.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/files.php') diff --git a/lib/files.php b/lib/files.php index eb7c6cc73bf..1c00044fa90 100644 --- a/lib/files.php +++ b/lib/files.php @@ -101,6 +101,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"; @@ -155,7 +156,7 @@ class OC_FILES { die('403 Forbidden'); } ob_end_clean(); - OC_LOG::event($_SESSION['username'],3,"$dir/$files"); +// OC_LOG::event($_SESSION['username'],3,"$dir/$files"); if($zip){ readfile($filename); unlink($filename); @@ -217,7 +218,7 @@ class OC_FILES { $fileHandle=OC_FILESYSTEM::fopen($file, 'w'); if($fileHandle){ fclose($fileHandle); - OC_LOG::event($_SESSION['username'],4,"$dir/$name"); +// OC_LOG::event($_SESSION['username'],4,"$dir/$name"); return true; }else{ return false; -- cgit v1.2.3