Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2019-11-04 21:25:00 +0300
committerRobin Appelman <robin@icewind.nl>2019-11-04 21:51:37 +0300
commitef2fb51065aabb90e8e4234d84a78f4e047f7d1c (patch)
treea4a0152950139fb23255f68d7aaf6afd8a3b730f /apps/federatedfilesharing/appinfo
parent5ca27085fcb01db920326ea9ad892cc9a49253ab (diff)
remove missed manual Application instance constructions
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/federatedfilesharing/appinfo')
-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();