From 0be292196657bb6d525214d7f6832029bde189cd Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 14 Feb 2017 12:47:46 +0100 Subject: Fix DI of the cloud id manager into apps Signed-off-by: Joas Schilling --- apps/federatedfilesharing/lib/Notifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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') { -- cgit v1.2.3