From 2e56f0e2f8b653a36a811ea4669b1b36fc876f7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= <schiessle@owncloud.com>
Date: Tue, 25 Jun 2013 13:36:43 +0200
Subject: [PATCH] fix path to OC_Mount_Config

---
 apps/files_encryption/lib/keymanager.php | 2 +-
 apps/files_encryption/lib/util.php       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/files_encryption/lib/keymanager.php b/apps/files_encryption/lib/keymanager.php
index 084abdb2c2..e1bf59d80b 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 a5290013a4..2bf17dcc22 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,
-- 
GitLab