Skip to content
Snippets Groups Projects
Commit 16d8014c authored by Björn Schießle's avatar Björn Schießle
Browse files

set targetIsEncrypted to true if file cache indicates that we try to read a encrypted file

parent a2e2005e
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment