diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-09-01 10:20:54 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-09-08 09:01:01 +0200 |
commit | f16c5a38a85270e2230d78ab355774238a325f5d (patch) | |
tree | f3d376ed4c285c3a2d8005ac2090633516a32163 /lib/public | |
parent | 5437aeeaa2ad2445c0ea9668d0afffee46a3ba68 (diff) | |
download | nextcloud-server-f16c5a38a85270e2230d78ab355774238a325f5d.tar.gz nextcloud-server-f16c5a38a85270e2230d78ab355774238a325f5d.zip |
Add language to the preparation method
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/notification/inotifier.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/notification/inotifier.php b/lib/public/notification/inotifier.php index be6b3f25533..9eefcddae18 100644 --- a/lib/public/notification/inotifier.php +++ b/lib/public/notification/inotifier.php @@ -34,9 +34,10 @@ namespace OCP\Notification; interface INotifier { /** * @param INotification $notification + * @param string $languageCode The code of the language that should be used to prepare the notification * @return INotification * @throws \InvalidArgumentException When the notification was not prepared by a notifier * @since 8.2.0 */ - public function prepare(INotification $notification); + public function prepare(INotification $notification, $languageCode); } |