From ad7675d387e09b393236a18942805a0dc9265b5e Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 4 Jun 2011 20:21:50 +0000 Subject: [PATCH] Added missing $PAGEEDITTIME replacement for impersonal mails --- includes/UserMailer.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/includes/UserMailer.php b/includes/UserMailer.php index a115a70052..25297d1590 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -658,9 +658,11 @@ class EmailNotification { $body = str_replace( array( '$WATCHINGUSERNAME', - '$PAGEEDITDATE' ), + '$PAGEEDITDATE', + '$PAGEEDITTIME' ), array( wfMsgForContent( 'enotif_impersonal_salutation' ), - $wgContLang->timeanddate( $this->timestamp, true, false, false ) ), + $wgContLang->timeanddate( $this->timestamp, true, false, false ), + $wgContLang->time( $this->timestamp, true, false, $timecorrection ) ), $this->body ); return UserMailer::send( $addresses, $this->from, $this->subject, $body, $this->replyto ); -- 2.20.1