summaryrefslogtreecommitdiffstats
path: root/apps/files_external/appinfo/app.php
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 /apps/files_external/appinfo/app.php
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 'apps/files_external/appinfo/app.php')
-rw-r--r--apps/files_external/appinfo/app.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/files_external/appinfo/app.php b/apps/files_external/appinfo/app.php
index 86109695353..96699d4635e 100644
--- a/apps/files_external/appinfo/app.php
+++ b/apps/files_external/appinfo/app.php
@@ -30,15 +30,13 @@
use OCA\Files_External\Config\ConfigAdapter;
-OC::$CLASSPATH['OC_Mount_Config'] = 'files_external/lib/config.php';
-
require_once __DIR__ . '/../3rdparty/autoload.php';
// register Application object singleton
-\OC_Mount_Config::$app = \OC::$server->query(\OCA\Files_External\AppInfo\Application::class);
-\OC_Mount_Config::$app->registerListeners();
+\OCA\Files_External\MountConfig::$app = \OC::$server->query(\OCA\Files_External\AppInfo\Application::class);
+\OCA\Files_External\MountConfig::$app->registerListeners();
-$appContainer = \OC_Mount_Config::$app->getContainer();
+$appContainer = \OCA\Files_External\MountConfig::$app->getContainer();
\OCA\Files\App::getNavigationManager()->add(function () {
$l = \OC::$server->getL10N('files_external');