From 001dd400a1de041e0cd13e14755fd8abfac4f626 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 10 Jul 2015 13:14:07 +0200 Subject: set targetIsEncrypted to true if file cache indicates that we try to read a encrypted file --- lib/private/files/storage/wrapper/encryption.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/files/storage/wrapper/encryption.php b/lib/private/files/storage/wrapper/encryption.php index ebd6062b1da..61290791faa 100644 --- a/lib/private/files/storage/wrapper/encryption.php +++ b/lib/private/files/storage/wrapper/encryption.php @@ -403,6 +403,7 @@ class Encryption extends Wrapper { // OC_DEFAULT_MODULE to read the file $encryptionModule = $this->encryptionManager->getEncryptionModule('OC_DEFAULT_MODULE'); $shouldEncrypt = true; + $targetIsEncrypted = true; } } } catch (ModuleDoesNotExistsException $e) { -- cgit v1.2.3