summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-27 14:26:05 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-27 14:26:05 +0200
commit936d5640582ad5540d8287a133af06b3c9621bed (patch)
tree9da8447fa6510563222912e2be4a0b7339ba1503 /lib
parent93c25a1f4af11483baaef447faa235c938b2a444 (diff)
downloadnextcloud-server-936d5640582ad5540d8287a133af06b3c9621bed.tar.gz
nextcloud-server-936d5640582ad5540d8287a133af06b3c9621bed.zip
fixes #15848
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/storage/wrapper/encryption.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/files/storage/wrapper/encryption.php b/lib/private/files/storage/wrapper/encryption.php
index af48d3475c3..279e4a86f7c 100644
--- a/lib/private/files/storage/wrapper/encryption.php
+++ b/lib/private/files/storage/wrapper/encryption.php
@@ -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();
}
/**