Follow-up r110591: remove unused global declaration
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 2 Feb 2012 23:01:36 +0000 (23:01 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 2 Feb 2012 23:01:36 +0000 (23:01 +0000)
includes/GlobalFunctions.php

index 78af432..29d4644 100644 (file)
@@ -967,7 +967,7 @@ function wfDebugLog( $logGroup, $text, $public = true ) {
  * @param $text String: database error message.
  */
 function wfLogDBError( $text ) {
-       global $wgDBerrorLog, $wgDBname;
+       global $wgDBerrorLog;
        if ( $wgDBerrorLog ) {
                $host = wfHostname();
                $wiki = wfWikiID();