From d0554bef069b29affa95ec3c2bf78af637703a90 Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Tue, 1 May 2012 17:38:27 +0200 Subject: finish porting of the LOG calls or the apps to the public api --- apps/files_encryption/lib/proxy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 apps/files_encryption/lib/proxy.php (limited to 'apps/files_encryption/lib/proxy.php') diff --git a/apps/files_encryption/lib/proxy.php b/apps/files_encryption/lib/proxy.php old mode 100644 new mode 100755 index d65bcba8bfa..11a6a84e667 --- a/apps/files_encryption/lib/proxy.php +++ b/apps/files_encryption/lib/proxy.php @@ -90,7 +90,7 @@ class OC_FileProxy_Encryption extends OC_FileProxy{ }elseif(self::shouldEncrypt($path) and $meta['mode']!='r' and $meta['mode']!='rb'){ if(OC_Filesystem::file_exists($path) and OC_Filesystem::filesize($path)>0){ //first encrypt the target file so we don't end up with a half encrypted file - OC_Log::write('files_encryption','Decrypting '.$path.' before writing',OC_Log::DEBUG); + OCP\Util::writeLog('files_encryption','Decrypting '.$path.' before writing',OCP\Util::DEBUG); $tmp=fopen('php://temp'); OC_Helper::streamCopy($result,$tmp); fclose($result); -- cgit v1.2.3