From fb9cbb1b4c4457376781c91c7ff12e93b319d8b0 Mon Sep 17 00:00:00 2001 From: Reedy Date: Fri, 13 Jul 2012 19:02:12 +0100 Subject: [PATCH] Fix casing of wgDBerrorLogInUtc Change-Id: I644ea64b1a40160f3468ec35836ee9aa003c03de --- includes/GlobalFunctions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ); } -- 2.20.1