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:
authorJoas Schilling <coding@schilljs.com>2016-11-28 19:23:42 +0300
committerJoas Schilling <coding@schilljs.com>2016-11-28 19:23:42 +0300
commitb31d6218407e45c8d69e4b6cec3f73c92db5ffff (patch)
tree3fd700814fcf3e85a07c91e323c7226718802bd2 /apps/federatedfilesharing/appinfo/app.php
parenta12d2e67e74874c7260d72c9a8fca87cdfd346a1 (diff)
Add an icon to the federated sharing notification
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/federatedfilesharing/appinfo/app.php')
-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',