From: Ævar Arnfjörð Bjarmason Date: Sun, 10 Apr 2005 18:42:16 +0000 (+0000) Subject: * Redundant, timeanddate() no longer takes that paramater. X-Git-Tag: 1.5.0alpha1~311 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=63745ea274488dcf565a16667242e9dd496d64d5;p=lhc%2Fweb%2Fwiklou.git * Redundant, timeanddate() no longer takes that paramater. --- 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 );