summaryrefslogtreecommitdiffstats
path: root/lib/files.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-04-18 15:36:56 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-04-18 15:36:56 +0200
commit0f49d57d2783c79340ecb33d4a7aab0fdcfc628e (patch)
treef47cdf80de17df4a3287a1ad5c4ed1f3cb22308d /lib/files.php
parent70bf44401d6f93d1b2da04a9fb01bbba65af42f8 (diff)
downloadnextcloud-server-0f49d57d2783c79340ecb33d4a7aab0fdcfc628e.tar.gz
nextcloud-server-0f49d57d2783c79340ecb33d4a7aab0fdcfc628e.zip
dissable loggin for now
Diffstat (limited to 'lib/files.php')
-rw-r--r--lib/files.php5
1 files changed, 3 insertions, 2 deletions
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;