Added missing $PAGEEDITTIME replacement for impersonal mails

This commit is contained in:
Alexandre Emsenhuber 2011-06-04 20:21:50 +00:00
parent 72214fa718
commit ad7675d387

View file

@ -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 );