summaryrefslogtreecommitdiffstats
path: root/apps/files_external/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/appinfo/app.php')
-rw-r--r--apps/files_external/appinfo/app.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/appinfo/app.php b/apps/files_external/appinfo/app.php
index 432a2af502d..92236f2de32 100644
--- a/apps/files_external/appinfo/app.php
+++ b/apps/files_external/appinfo/app.php
@@ -31,10 +31,10 @@ use OCA\Files_External\Config\ConfigAdapter;
require_once __DIR__ . '/../3rdparty/autoload.php';
// register Application object singleton
-\OCA\Files_External\MountConfig::$app = \OC::$server->query(\OCA\Files_External\AppInfo\Application::class);
-\OCA\Files_External\MountConfig::$app->registerListeners();
+$app = \OC::$server->query(\OCA\Files_External\AppInfo\Application::class);
+$app->registerListeners();
-$appContainer = \OCA\Files_External\MountConfig::$app->getContainer();
+$appContainer = $app->getContainer();
\OCA\Files\App::getNavigationManager()->add(function () {
$l = \OC::$server->getL10N('files_external');