aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-07-09 23:39:58 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-07-10 00:02:59 +0200
commit065ef14cb025f6664c7a3ed1aa89d333a2944342 (patch)
tree72cba2059ca302ffa3fdfa2a1e5a9ffc604285d0 /lib
parente18e4511d0988fd1133f0bfc553f38e5a29a4565 (diff)
downloadnextcloud-server-065ef14cb025f6664c7a3ed1aa89d333a2944342.tar.gz
nextcloud-server-065ef14cb025f6664c7a3ed1aa89d333a2944342.zip
Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH usage in files_external
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Encryption/File.php2
-rw-r--r--lib/private/Encryption/Util.php2
-rw-r--r--lib/private/Log/ExceptionSerializer.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Encryption/File.php b/lib/private/Encryption/File.php
index 13879c02cdc..b631e4fc63f 100644
--- a/lib/private/Encryption/File.php
+++ b/lib/private/Encryption/File.php
@@ -110,7 +110,7 @@ class File implements \OCP\Encryption\IFile {
// check if it is a group mount
if (\OCP\App::isEnabled("files_external")) {
- $mounts = \OC_Mount_Config::getSystemMountPoints();
+ $mounts = \OCA\Files_External\MountConfig::getSystemMountPoints();
foreach ($mounts as $mount) {
if ($mount['mountpoint'] == substr($ownerPath, 1, strlen($mount['mountpoint']))) {
$mountedFor = $this->util->getUserWithAccessToMountPoint($mount['applicable']['users'], $mount['applicable']['groups']);
diff --git a/lib/private/Encryption/Util.php b/lib/private/Encryption/Util.php
index 8b3360c30e0..0bda00a5cbc 100644
--- a/lib/private/Encryption/Util.php
+++ b/lib/private/Encryption/Util.php
@@ -299,7 +299,7 @@ class Util {
*/
public function isSystemWideMountPoint($path, $uid) {
if (\OCP\App::isEnabled("files_external")) {
- $mounts = \OC_Mount_Config::getSystemMountPoints();
+ $mounts = \OCA\Files_External\MountConfig::getSystemMountPoints();
foreach ($mounts as $mount) {
if (strpos($path, '/files/' . $mount['mountpoint']) === 0) {
if ($this->isMountPointApplicableToUser($mount, $uid)) {
diff --git a/lib/private/Log/ExceptionSerializer.php b/lib/private/Log/ExceptionSerializer.php
index 587d6ff37db..a2bc1963003 100644
--- a/lib/private/Log/ExceptionSerializer.php
+++ b/lib/private/Log/ExceptionSerializer.php
@@ -81,7 +81,7 @@ class ExceptionSerializer {
'storeKeyPair',
'setupUser',
- // files_external: OC_Mount_Config
+ // files_external: OCA\Files_External\MountConfig
'getBackendStatus',
// files_external: UserStoragesController