fix path to OC_Mount_Config

This commit is contained in:
Björn Schießle 2013-06-25 13:36:43 +02:00
parent 3e4dcafa89
commit 2e56f0e2f8
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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,