Added missing $PAGEEDITTIME replacement for impersonal mails
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 4 Jun 2011 20:21:50 +0000 (20:21 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 4 Jun 2011 20:21:50 +0000 (20:21 +0000)
includes/UserMailer.php

index a115a70..25297d1 100644 (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 );