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

This commit is contained in:
Bjoern Schiessle 2015-07-10 13:14:07 +02:00
parent a2e2005e67
commit 16d8014cdd

View file

@ -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) {