Correctly ignore remote shares aswell
This commit is contained in:
parent
50a31fa8f9
commit
be1f319511
1 changed files with 4 additions and 1 deletions
|
@ -403,7 +403,10 @@ class Util {
|
||||||
'mountPoint' => $mountPoint,
|
'mountPoint' => $mountPoint,
|
||||||
'mount' => $mount];
|
'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();
|
$manager = \OC::$server->getEncryptionManager();
|
||||||
$user = \OC::$server->getUserSession()->getUser();
|
$user = \OC::$server->getUserSession()->getUser();
|
||||||
$logger = \OC::$server->getLogger();
|
$logger = \OC::$server->getLogger();
|
||||||
|
|
Loading…
Reference in a new issue