diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-10-25 17:16:54 +0200 |
---|---|---|
committer | Côme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com> | 2022-11-29 14:36:29 +0000 |
commit | d9151ff35c4280b8e5bbb92e33fe2b89c2bee458 (patch) | |
tree | c0b5864c0c667156b82763382b4541d1fa073d37 /apps/federatedfilesharing | |
parent | db995d464d06ace8231c41633287ce689b7d33b1 (diff) | |
download | nextcloud-server-d9151ff35c4280b8e5bbb92e33fe2b89c2bee458.tar.gz nextcloud-server-d9151ff35c4280b8e5bbb92e33fe2b89c2bee458.zip |
Get rid of all useless calls to setParsedSubject now that setRichSubject is able to do it
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/federatedfilesharing')
-rw-r--r-- | apps/federatedfilesharing/lib/Notifier.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/federatedfilesharing/lib/Notifier.php b/apps/federatedfilesharing/lib/Notifier.php index 5e57b77b64a..87c05e19e4b 100644 --- a/apps/federatedfilesharing/lib/Notifier.php +++ b/apps/federatedfilesharing/lib/Notifier.php @@ -108,10 +108,6 @@ class Notifier implements INotifier { $params[3] = $remoteInitiator['name'] . '@' . $remoteInitiator['server']; $params[4] = $remoteOwner['name'] . '@' . $remoteOwner['server']; - $notification->setParsedSubject( - $l->t('You received "%3$s" as a remote share from %4$s (%1$s) (on behalf of %5$s (%2$s))', $params) - ); - $notification->setRichSubject( $l->t('You received {share} as a remote share from {user} (on behalf of {behalf})'), [ @@ -128,11 +124,6 @@ class Notifier implements INotifier { $remoteOwner = $this->createRemoteUser($params[0]); $params[3] = $remoteOwner['name'] . '@' . $remoteOwner['server']; - $notification->setParsedSubject( - $l->t('You received "%3$s" as a remote share from %4$s (%1$s)', $params) - ); - - $notification->setRichSubject( $l->t('You received {share} as a remote share from {user}'), [ |