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();