diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-09-25 01:33:53 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-09-25 01:33:53 +0200 |
commit | 6c2b22406c710a82f05d7449a90ba584ffc06a58 (patch) | |
tree | de620dc1ceaf7afdaede746825364f9141c9df32 /lib | |
parent | 57bffdb46a827b58d0762d6955e3809ec4ed25e5 (diff) | |
download | nextcloud-server-6c2b22406c710a82f05d7449a90ba584ffc06a58.tar.gz nextcloud-server-6c2b22406c710a82f05d7449a90ba584ffc06a58.zip |
remove some debug statements
Diffstat (limited to 'lib')
-rw-r--r-- | lib/filesystem.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php index d7c485d25b8..b97fa8d784a 100644 --- a/lib/filesystem.php +++ b/lib/filesystem.php @@ -286,7 +286,6 @@ class OC_Filesystem{ return self::basicOperation('file_get_contents',$path,array('read')); } static public function file_put_contents($path,$data){ - if(defined("DEBUG") && DEBUG) {error_log($data);} return self::basicOperation('file_put_contents',$path,array('create','write'),$data); } static public function unlink($path){ @@ -393,7 +392,6 @@ class OC_Filesystem{ } } static public function fromUploadedFile($tmpFile,$path){ - if(defined("DEBUG") && DEBUG) {error_log('upload');} if(OC_FileProxy::runPreProxies('fromUploadedFile',$tmpFile,$path) and self::canWrite($path) and $storage=self::getStorage($path)){ $run=true; $exists=self::file_exists($path); @@ -403,7 +401,6 @@ class OC_Filesystem{ if($run){ OC_Hook::emit( 'OC_Filesystem', 'write', array( 'path' => $path, 'run' => &$run)); } - if(defined("DEBUG") && DEBUG) {error_log('upload2');} if($run){ $result=$storage->fromUploadedFile($tmpFile,self::getInternalPath($path)); if(!$exists){ |