fix path to OC_Mount_Config

remotes/origin/stable6
Björn Schießle 13 years ago
parent 3e4dcafa89
commit 2e56f0e2f8
  1. 2
      apps/files_encryption/lib/keymanager.php
  2. 2
      apps/files_encryption/lib/util.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;

@ -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…
Cancel
Save