wfDebugLog(): remove unused global
authorChad Horohoe <chadh@wikimedia.org>
Tue, 4 Nov 2014 21:05:32 +0000 (13:05 -0800)
committerChad Horohoe <chadh@wikimedia.org>
Tue, 4 Nov 2014 21:06:10 +0000 (13:06 -0800)
Change-Id: I336b022c7c87550729ca4e97b0960ba6adec7bb5

includes/GlobalFunctions.php

index 4ef731b..e15eb1a 100644 (file)
@@ -1067,8 +1067,6 @@ function wfDebugMem( $exact = false ) {
  *     - false: same as 'private'
  */
 function wfDebugLog( $logGroup, $text, $dest = 'all' ) {
-       global $wgDebugLogGroups;
-
        // Turn $dest into a string if it's a boolean (for b/c)
        if ( $dest === true ) {
                $dest = 'all';