]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix encryption proxy for updated filecache
authorRobin Appelman <icewind@owncloud.com>
Fri, 15 Jun 2012 21:11:55 +0000 (23:11 +0200)
committerRobin Appelman <icewind@owncloud.com>
Fri, 15 Jun 2012 21:11:55 +0000 (23:11 +0200)
apps/files_encryption/lib/proxy.php

index ad9bcf55f2b0506948aafb1a9c77d8fe914e6f25..b9e719448a3b5087195f8f3ed0a97510586a5b2f 100644 (file)
@@ -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),'');
                        }
                }
        }