Chad has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/171037

Change subject: wfDebugLog(): remove unused global
......................................................................

wfDebugLog(): remove unused global

Change-Id: I336b022c7c87550729ca4e97b0960ba6adec7bb5
---
M includes/GlobalFunctions.php
1 file changed, 0 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/37/171037/1

diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php
index 4ef731b..e15eb1a 100644
--- a/includes/GlobalFunctions.php
+++ b/includes/GlobalFunctions.php
@@ -1067,8 +1067,6 @@
  *     - 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';

-- 
To view, visit https://gerrit.wikimedia.org/r/171037
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I336b022c7c87550729ca4e97b0960ba6adec7bb5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Chad <ch...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to