Only use cached files in case encryption is enabled - in any other case let the underlying storage handle this accordingly - refs #16061 #16062 and others
This commit is contained in:
parent
767cf2774a
commit
a96c2b8354
|
@ -364,7 +364,10 @@ class Encryption extends Wrapper {
|
|||
* @return string
|
||||
*/
|
||||
public function getLocalFile($path) {
|
||||
return $this->getCachedFile($path);
|
||||
if ($this->encryptionManager->isEnabled()) {
|
||||
return $this->getCachedFile($path);
|
||||
}
|
||||
return $this->storage->getLocalFile($path);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue