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

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(-)

Approvals:
  Matthias Mullie: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I174aad1d72a9b8d5b8577fd14b48244e0c1f2866
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to