diff options
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/encryption/util.php | 5 |
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(); |