DevelopmentSettings: Remove unused globals & declare $wgSQLMode
authorDerick Alangi <alangiderick@gmail.com>
Wed, 10 Apr 2019 16:01:12 +0000 (17:01 +0100)
committerD3r1ck01 <xsavitar.wiki@aol.com>
Sat, 13 Apr 2019 17:54:30 +0000 (17:54 +0000)
Some globals where declared but not used and $wgSQLMode was not declared
at all. Removed the unsed vars.

Change-Id: I44e6b8b6173674089271a172cf7bda6e320c53d8

includes/DevelopmentSettings.php

index 7f00c6c..4bf00d0 100644 (file)
@@ -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;