summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-08-18 10:50:18 +0200
committerJoas Schilling <coding@schilljs.com>2022-08-18 10:50:18 +0200
commitd06d6f625e271c5138477c4d867213ba74b8a4e9 (patch)
tree4f67fd2975831d92acc94f3a518385822d281563 /lib
parent14e002a6d2f6d5dea45767c6ece4ff037ddee669 (diff)
Remove the parameter as it's part of the translated string already
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Chat/Parser/SystemMessage.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Chat/Parser/SystemMessage.php b/lib/Chat/Parser/SystemMessage.php
index 51666142d..22540811b 100644
--- a/lib/Chat/Parser/SystemMessage.php
+++ b/lib/Chat/Parser/SystemMessage.php
@@ -461,7 +461,6 @@ class SystemMessage {
$hours = $parameters['seconds'] >= 3600 ? (int) round($parameters['seconds'] / 3600) : 0;
$minutes = (int) round($parameters['seconds'] / 60);
- $parsedParameters['seconds'] = $parameters['seconds'];
if ($currentUserIsActor) {
if ($weeks > 0) {
$parsedMessage = $this->l->n('You set the message expiration to %n week', 'You set the message expiration to %n weeks', $weeks);