aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federatedfilesharing/appinfo/app.php')
-rw-r--r--apps/federatedfilesharing/appinfo/app.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/appinfo/app.php b/apps/federatedfilesharing/appinfo/app.php
index 6b273faca80..025bc86b776 100644
--- a/apps/federatedfilesharing/appinfo/app.php
+++ b/apps/federatedfilesharing/appinfo/app.php
@@ -24,8 +24,9 @@
*/
use OCA\FederatedFileSharing\Notifier;
+use OCA\FederatedFileSharing\AppInfo\Application;
-$app = new \OCA\FederatedFileSharing\AppInfo\Application();
+$app = \OC::$server->query(Application::class);
$eventDispatcher = \OC::$server->getEventDispatcher();
$manager = \OC::$server->getNotificationManager();