@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user