fix path to OC_Mount_Config
This commit is contained in:
parent
3e4dcafa89
commit
2e56f0e2f8
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue