diff --git a/apps/files_encryption/lib/keymanager.php b/apps/files_encryption/lib/keymanager.php
index 084abdb2c2edd6f2b6cd4b387738bf511390c0d7..e1bf59d80bfffe86b4746d1e11d469956a3edceb 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 a5290013a4b43f6c1d443efe75b0f180eec84cbb..2bf17dcc2236226b0a5e3991c26e866184b8d4a8 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,