aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-11-28 17:23:42 +0100
committerJoas Schilling <coding@schilljs.com>2016-11-28 17:23:42 +0100
commitb31d6218407e45c8d69e4b6cec3f73c92db5ffff (patch)
tree3fd700814fcf3e85a07c91e323c7226718802bd2 /apps/federatedfilesharing/appinfo
parenta12d2e67e74874c7260d72c9a8fca87cdfd346a1 (diff)
downloadnextcloud-server-b31d6218407e45c8d69e4b6cec3f73c92db5ffff.tar.gz
nextcloud-server-b31d6218407e45c8d69e4b6cec3f73c92db5ffff.zip
Add an icon to the federated sharing notification
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/federatedfilesharing/appinfo')
-rw-r--r--apps/federatedfilesharing/appinfo/app.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/federatedfilesharing/appinfo/app.php b/apps/federatedfilesharing/appinfo/app.php
index 7f4e4601977..4a5492b0f15 100644
--- a/apps/federatedfilesharing/appinfo/app.php
+++ b/apps/federatedfilesharing/appinfo/app.php
@@ -31,10 +31,7 @@ $app->registerSettings();
$manager = \OC::$server->getNotificationManager();
$manager->registerNotifier(function() {
- return new Notifier(
- \OC::$server->getL10NFactory(),
- \OC::$server->getContactsManager()
- );
+ return \OC::$server->query(Notifier::class);
}, function() use ($l) {
return [
'id' => 'files_sharing',