jenkins-bot has submitted this change and it was merged.

Change subject: Remove duplicate "global $wgUser"
......................................................................


Remove duplicate "global $wgUser"

Change-Id: I857d09ba3a115a4e042d4c95550ac77f0211c34f
---
M Hooks.php
1 file changed, 0 insertions(+), 2 deletions(-)

Approvals:
  Alex Monk: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Hooks.php b/Hooks.php
index c9c7127..7fe6c61 100644
--- a/Hooks.php
+++ b/Hooks.php
@@ -588,8 +588,6 @@
                        return true;
                }
 
-               global $wgUser;
-
                // link notification is boundless as you can include infinite 
number of links in a page
                // db insert is expensive, limit it to a reasonable amount, we 
can increase this limit
                // once the storage is on Redis

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I857d09ba3a115a4e042d4c95550ac77f0211c34f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Alex Monk <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to