From: Reedy Date: Fri, 13 Jul 2012 18:02:12 +0000 (+0100) Subject: Fix casing of wgDBerrorLogInUtc X-Git-Tag: 1.31.0-rc.0~23053^2 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=fb9cbb1b4c4457376781c91c7ff12e93b319d8b0;p=lhc%2Fweb%2Fwiklou.git Fix casing of wgDBerrorLogInUtc Change-Id: I644ea64b1a40160f3468ec35836ee9aa003c03de --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 432622912d..f9ab140a17 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1053,17 +1053,17 @@ function wfDebugLog( $logGroup, $text, $public = true ) { * @param $text String: database error message. */ function wfLogDBError( $text ) { - global $wgDBerrorLog, $wgDBerrorLogInUtc; + global $wgDBerrorLog, $wgDBerrorLogInUTC; if ( $wgDBerrorLog ) { $host = wfHostname(); $wiki = wfWikiID(); - if( $wgDBerrorLogInUtc ) { + if( $wgDBerrorLogInUTC ) { $wikiTimezone = date_default_timezone_get(); date_default_timezone_set( 'UTC' ); } $date = date( 'D M j G:i:s T Y' ); - if( $wgDBerrorLogInUtc ) { + if( $wgDBerrorLogInUTC ) { // Restore timezone date_default_timezone_set( $wikiTimezone ); }