From d5e9d4e3f558714c3eb750954b8734b2f5d32f42 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 28 Mar 2008 20:17:55 +0000 Subject: [PATCH] * (bug 13540) Date format in confirmation e-mail now matches message language --- RELEASE-NOTES | 1 + includes/User.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 4d418f3603..645df1441d 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -140,6 +140,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 13522) Fix fatal error in Parser::extractTagsAndParams * (bug 13532) Use proper timestamp call when reverting images * (bug 13543) Updated FAQ link in the installer sidebar +* (bug 13540) Date format in confirmation e-mail now matches message language === API changes in 1.13 === diff --git a/includes/User.php b/includes/User.php index e2e093b6e2..103130f072 100644 --- a/includes/User.php +++ b/includes/User.php @@ -2384,7 +2384,7 @@ class User { * @return mixed True on success, a WikiError object on failure. */ function sendConfirmationMail() { - global $wgContLang; + global $wgLang; $expiration = null; // gets passed-by-ref and defined in next line. $token = $this->confirmationToken( $expiration ); $url = $this->confirmationTokenUrl( $token ); @@ -2394,7 +2394,7 @@ class User { wfGetIP(), $this->getName(), $url, - $wgContLang->timeanddate( $expiration, false ), + $wgLang->timeanddate( $expiration, false ), $invalidateURL ) ); } -- 2.20.1