summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/lib/proxy.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-01 17:38:27 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-01 17:38:27 +0200
commitd0554bef069b29affa95ec3c2bf78af637703a90 (patch)
treef28c25fef284dc6b61425917e79a812c85274597 /apps/files_encryption/lib/proxy.php
parent7ded9cf520f74b595bc0f8939ac59249b47ccbc9 (diff)
downloadnextcloud-server-d0554bef069b29affa95ec3c2bf78af637703a90.tar.gz
nextcloud-server-d0554bef069b29affa95ec3c2bf78af637703a90.zip
finish porting of the LOG calls or the apps to the public api
Diffstat (limited to 'apps/files_encryption/lib/proxy.php')
-rwxr-xr-x[-rw-r--r--]apps/files_encryption/lib/proxy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/lib/proxy.php b/apps/files_encryption/lib/proxy.php
index d65bcba8bfa..11a6a84e667 100644..100755
--- 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);