From 35d652259856d0ac0e4a8e0c4930e2c6381ecda7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 27 Nov 2019 20:57:15 +0100 Subject: [PATCH] Quer Application class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- appinfo/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appinfo/app.php b/appinfo/app.php index e6e543850..c59ee8832 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -25,7 +25,7 @@ if ((@include_once __DIR__ . '/../vendor/autoload.php')===false) { throw new Exception('Cannot include autoload. Did you run install dependencies using composer?'); } -$app = new \OCA\Deck\AppInfo\Application(); +$app = \OC::$server->query(\OCA\Deck\AppInfo\Application::class); $app->registerNavigationEntry(); $app->registerNotifications(); $app->registerCommentsEntity();