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

remotes/origin/handlebars-approach
Bjoern Schiessle 11 years ago
parent a2e2005e67
commit 16d8014cdd
  1. 1
      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) {

Loading…
Cancel
Save