aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-07-10 13:14:07 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-07-17 13:28:58 +0200
commit001dd400a1de041e0cd13e14755fd8abfac4f626 (patch)
treea817846b6694e43460e0f12025b5f460a3941df1 /lib/private
parent5bfbfca266fe30e3198f9a7f35b6f6daad9e9ab3 (diff)
downloadnextcloud-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.php1
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) {