Matthias Mullie has uploaded a new change for review.

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

Change subject: Fix Notice: Undefined variable: wgFlowAbuseFilterGroup
......................................................................

Fix Notice: Undefined variable: wgFlowAbuseFilterGroup

Change-Id: I174aad1d72a9b8d5b8577fd14b48244e0c1f2866
---
M Hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/94/119494/1

diff --git a/Hooks.php b/Hooks.php
index 5331ae9..73b44d4 100644
--- a/Hooks.php
+++ b/Hooks.php
@@ -47,7 +47,6 @@
        public static function getAbuseFilter() {
                if ( self::$abuseFilter === null ) {
                        global $wgUser,
-                               $wgEchoNotifications,
                                $wgFlowAbuseFilterGroup,
                                $wgFlowAbuseFilterEmergencyDisableThreshold,
                                $wgFlowAbuseFilterEmergencyDisableCount,
@@ -77,6 +76,7 @@
                }
 
                // necessary to provide flow options in abuse filter on-wiki 
pages
+               global $wgFlowAbuseFilterGroup;
                if ( $wgFlowAbuseFilterGroup ) {
                        self::getAbuseFilter();
                }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I174aad1d72a9b8d5b8577fd14b48244e0c1f2866
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>

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

Reply via email to