From 16d8014cdd9caf17ec6887d9c6538c2ea7c8b6a6 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 10 Jul 2015 13:14:07 +0200 Subject: [PATCH] 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 ebd6062b1d..61290791fa 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) {