Legoktm has uploaded a new change for review.
https://gerrit.wikimedia.org/r/90743
Change subject: Remove duplicate "global $wgUser"
......................................................................
Remove duplicate "global $wgUser"
Change-Id: I857d09ba3a115a4e042d4c95550ac77f0211c34f
---
M Hooks.php
1 file changed, 0 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo
refs/changes/43/90743/1
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: newchange
Gerrit-Change-Id: I857d09ba3a115a4e042d4c95550ac77f0211c34f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits