fixes #15848
This commit is contained in:
parent
93c25a1f4a
commit
936d564058
2 changed files with 7 additions and 1 deletions
|
@ -363,7 +363,10 @@ class Encryption extends Wrapper {
|
|||
* @return bool wrapped storage's isLocal() value
|
||||
*/
|
||||
public function isLocal() {
|
||||
return false;
|
||||
if ($this->encryptionManager->isEnabled()) {
|
||||
return false;
|
||||
}
|
||||
return $this->storage->isLocal();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -200,4 +200,7 @@ class Encryption extends \Test\Files\Storage\Storage {
|
|||
);
|
||||
}
|
||||
|
||||
public function testIsLocal() {
|
||||
$this->assertFalse($this->instance->isLocal());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue