From: Björn Schießle Date: Tue, 25 Jun 2013 11:36:43 +0000 (+0200) Subject: fix path to OC_Mount_Config X-Git-Tag: v6.0.0alpha2~517 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2e56f0e2f8b653a36a811ea4669b1b36fc876f7e;p=nextcloud-server.git fix path to OC_Mount_Config --- diff --git a/apps/files_encryption/lib/keymanager.php b/apps/files_encryption/lib/keymanager.php index 084abdb2c2e..e1bf59d80bf 100755 --- a/apps/files_encryption/lib/keymanager.php +++ b/apps/files_encryption/lib/keymanager.php @@ -591,7 +591,7 @@ class Keymanager { * @return boolean */ private static function isSystemWideMountPoint($path) { - $mount = OC_Mount_Config::getSystemMountPoints(); + $mount = \OC_Mount_Config::getSystemMountPoints(); foreach ($mount as $mountPoint => $data) { if ($mountPoint == substr($path, 1, strlen($mountPoint))) { return true; diff --git a/apps/files_encryption/lib/util.php b/apps/files_encryption/lib/util.php index a5290013a4b..2bf17dcc223 100644 --- a/apps/files_encryption/lib/util.php +++ b/apps/files_encryption/lib/util.php @@ -1027,7 +1027,7 @@ class Util { } // check if it is a group mount - $mount = OC_Mount_Config::getSystemMountPoints(); + $mount = \OC_Mount_Config::getSystemMountPoints(); foreach ($mount as $mountPoint => $data) { if ($mountPoint == substr($ownerPath, 1, strlen($mountPoint))) { $userIds = array_merge($userIds,