From: Robin Appelman Date: Fri, 15 Jun 2012 21:11:55 +0000 (+0200) Subject: fix encryption proxy for updated filecache X-Git-Tag: v4.5.0beta1~74^2~419^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=03951ccc6b4d710e2e21d4344842a7c310453871;p=nextcloud-server.git fix encryption proxy for updated filecache --- diff --git a/apps/files_encryption/lib/proxy.php b/apps/files_encryption/lib/proxy.php index ad9bcf55f2b..b9e719448a3 100644 --- a/apps/files_encryption/lib/proxy.php +++ b/apps/files_encryption/lib/proxy.php @@ -67,7 +67,7 @@ class OC_FileProxy_Encryption extends OC_FileProxy{ if(self::shouldEncrypt($path)){ if (!is_resource($data)) {//stream put contents should have been converter to fopen $data=OC_Crypt::blockEncrypt($data); - OC_FileCache::put($path,array('encrypted'=>true)); + OC_FileCache::put($path,array('encrypted'=>true),''); } } }