summaryrefslogtreecommitdiffstats
path: root/lib
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:30:08 +0200
commit16d8014cdd9caf17ec6887d9c6538c2ea7c8b6a6 (patch)
tree7a98a3993a63c206f18f6876522717fe3d99d4f2 /lib
parenta2e2005e6796959ee58cdf2bf96fd711174797eb (diff)
downloadnextcloud-server-16d8014cdd9caf17ec6887d9c6538c2ea7c8b6a6.tar.gz
nextcloud-server-16d8014cdd9caf17ec6887d9c6538c2ea7c8b6a6.zip
set targetIsEncrypted to true if file cache indicates that we try to read a encrypted file
Diffstat (limited to 'lib')
-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) {