From: Derick Alangi Date: Wed, 10 Apr 2019 16:01:12 +0000 (+0100) Subject: DevelopmentSettings: Remove unused globals & declare $wgSQLMode X-Git-Tag: 1.34.0-rc.0~1985^2 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=2dc9ea3f325cd135ebfa89e7c699bfc2f84f0ace;p=lhc%2Fweb%2Fwiklou.git DevelopmentSettings: Remove unused globals & declare $wgSQLMode Some globals where declared but not used and $wgSQLMode was not declared at all. Removed the unsed vars. Change-Id: I44e6b8b6173674089271a172cf7bda6e320c53d8 --- diff --git a/includes/DevelopmentSettings.php b/includes/DevelopmentSettings.php index 7f00c6cb0b..4bf00d0249 100644 --- a/includes/DevelopmentSettings.php +++ b/includes/DevelopmentSettings.php @@ -25,8 +25,8 @@ ini_set( 'display_errors', 1 ); * Debugging: MediaWiki */ global $wgDevelopmentWarnings, $wgShowExceptionDetails, $wgShowHostnames, - $wgDebugRawPage, $wgDebugComments, $wgDebugDumpSql, $wgDebugTimestamps, - $wgCommandLineMode, $wgDebugLogFile, $wgDBerrorLog, $wgDebugLogGroups; + $wgDebugRawPage, $wgSQLMode, $wgCommandLineMode, $wgDebugLogFile, + $wgDBerrorLog, $wgDebugLogGroups; // Use of wfWarn() should cause tests to fail $wgDevelopmentWarnings = true;