diff options
author | Joas Schilling <coding@schilljs.com> | 2016-11-28 17:23:42 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-11-28 17:23:42 +0100 |
commit | b31d6218407e45c8d69e4b6cec3f73c92db5ffff (patch) | |
tree | 3fd700814fcf3e85a07c91e323c7226718802bd2 /apps/federatedfilesharing/appinfo | |
parent | a12d2e67e74874c7260d72c9a8fca87cdfd346a1 (diff) | |
download | nextcloud-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.php | 5 |
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', |