diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-07-10 13:14:07 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-07-17 13:28:58 +0200 |
commit | 001dd400a1de041e0cd13e14755fd8abfac4f626 (patch) | |
tree | a817846b6694e43460e0f12025b5f460a3941df1 /lib/private | |
parent | 5bfbfca266fe30e3198f9a7f35b6f6daad9e9ab3 (diff) | |
download | nextcloud-server-001dd400a1de041e0cd13e14755fd8abfac4f626.tar.gz nextcloud-server-001dd400a1de041e0cd13e14755fd8abfac4f626.zip |
set targetIsEncrypted to true if file cache indicates that we try to read a encrypted file
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/files/storage/wrapper/encryption.php | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |