summaryrefslogtreecommitdiffstats
path: root/lib/private/encryption
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-06-02 12:33:51 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-06-02 12:33:51 +0200
commitbe1f319511b3faaf4552ec68a6697b4dda1f5c6c (patch)
tree7e40145c2ca55c4807ffba5b74a207e64cf99be3 /lib/private/encryption
parent50a31fa8f905c3f9483137bc7b1e57cbf950d2c2 (diff)
downloadnextcloud-server-be1f319511b3faaf4552ec68a6697b4dda1f5c6c.tar.gz
nextcloud-server-be1f319511b3faaf4552ec68a6697b4dda1f5c6c.zip
Correctly ignore remote shares aswell
Diffstat (limited to 'lib/private/encryption')
-rw-r--r--lib/private/encryption/util.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/encryption/util.php b/lib/private/encryption/util.php
index 16c09cd26b3..80499249561 100644
--- a/lib/private/encryption/util.php
+++ b/lib/private/encryption/util.php
@@ -403,7 +403,10 @@ class Util {
'mountPoint' => $mountPoint,
'mount' => $mount];
- if (!$storage->instanceOfStorage('OC\Files\Storage\Shared')) {
+ if (!$storage->instanceOfStorage('OC\Files\Storage\Shared')
+ && !$storage->instanceOfStorage('OCA\Files_Sharing\External\Storage')
+ && !$storage->instanceOfStorage('OC\Files\Storage\OwnCloud')) {
+
$manager = \OC::$server->getEncryptionManager();
$user = \OC::$server->getUserSession()->getUser();
$logger = \OC::$server->getLogger();