diff options
author | Joas Schilling <coding@schilljs.com> | 2017-02-14 12:47:46 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-02-14 12:47:46 +0100 |
commit | 0be292196657bb6d525214d7f6832029bde189cd (patch) | |
tree | 04ebeb23d6991bc078bbcbf4b18548e6a86c8dff /apps | |
parent | 7113af3f9102ca4e27350786934df9de3c54f71b (diff) | |
download | nextcloud-server-0be292196657bb6d525214d7f6832029bde189cd.tar.gz nextcloud-server-0be292196657bb6d525214d7f6832029bde189cd.zip |
Fix DI of the cloud id manager into apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/federatedfilesharing/lib/Notifier.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/lib/Notifier.php b/apps/federatedfilesharing/lib/Notifier.php index faf79480b7e..2b7c9f78a75 100644 --- a/apps/federatedfilesharing/lib/Notifier.php +++ b/apps/federatedfilesharing/lib/Notifier.php @@ -25,7 +25,6 @@ namespace OCA\FederatedFileSharing; use OC\HintException; -use OC\Share\Helper; use OCP\Contacts\IManager; use OCP\Federation\ICloudId; use OCP\Federation\ICloudIdManager; @@ -63,6 +62,7 @@ class Notifier implements INotifier { * @param INotification $notification * @param string $languageCode The code of the language that should be used to prepare the notification * @return INotification + * @throws \InvalidArgumentException */ public function prepare(INotification $notification, $languageCode) { if ($notification->getApp() !== 'files_sharing') { |