From 63745ea274488dcf565a16667242e9dd496d64d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Sun, 10 Apr 2005 18:42:16 +0000 Subject: [PATCH] * Redundant, timeanddate() no longer takes that paramater. --- includes/UserMailer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 7eb4e19d3d..f5f27f6284 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -308,7 +308,7 @@ class EmailNotification { $keys['%24PAGETITLE'] = $pagetitle; # needed for the {{localurl:$PAGETITLE}} in the messagetext, "$" appears here as "%24" $keys['$PAGETITLE'] = $pagetitle; $keys['$PAGETIMESTAMP'] = $article->mTimestamp; # this is the raw internal timestamp - can be useful, too - $keys['$PAGEEDITDATEUTC'] = $wgLang->timeanddate( $article->mTimestamp, false, false, false, true ); + $keys['$PAGEEDITDATEUTC'] = $wgLang->timeanddate( $article->mTimestamp, false, false, false ); $keys['$PAGEMINOREDIT'] = $medit; $keys['$PAGESUMMARY'] = $summary; @@ -394,7 +394,7 @@ class EmailNotification { # expressed in terms of individual local time of the notification # recipient, i.e. watching user $body = str_replace('$PAGEEDITDATE', - $wgLang->timeanddate( $article->mTimestamp, true, false, $timecorrection, true), + $wgLang->timeanddate( $article->mTimestamp, true, false, $timecorrection ), $body); $error = userMailer( $to, $mail->from, $mail->subject, $body, $mail->replyto ); -- 2.20.1