Skip to content

Commit 777b70f

Browse files
Merge pull request #387 from nextcloud/query-application
Query application form server
2 parents d09d77f + e6b3b36 commit 777b70f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appinfo/app.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Symfony\Component\EventDispatcher\GenericEvent;
1818
use OCA\Maps\Hooks\FileHooks;
1919

20-
$app = new Application();
20+
$app = \OC::$server->query(Application::class);
2121
$container = $app->getContainer();
2222

2323
$eventDispatcher = \OC::$server->getEventDispatcher();

0 commit comments

Comments
 (0)