Mattflaschen has uploaded a new change for review.

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

Change subject: Use $wgNotifyTypeAvailabilityByNotificationType due to Echo 
change
......................................................................

Use $wgNotifyTypeAvailabilityByNotificationType due to Echo change

$wgEchoDefaultNotificationTypes has been split into multiple variables.

Bug: T132820
Change-Id: I3c669945080d8e1f67880bd8a31af7f88a70904d
Depends-On: I09f39f5fc5f13f3253af9f7819bca81f1601da93
---
M BounceHandlerHooks.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BounceHandler 
refs/changes/13/284513/1

diff --git a/BounceHandlerHooks.php b/BounceHandlerHooks.php
index 9632808..2b0a5e3 100644
--- a/BounceHandlerHooks.php
+++ b/BounceHandlerHooks.php
@@ -13,13 +13,13 @@
         */
        public static function extensionFunction() {
                global $wgNoReplyAddress, $wgServerName, 
$wgUnrecognizedBounceNotify, $wgVERPdomainPart,
-                       $wgEchoDefaultNotificationTypes;
+                       $wgNotifyTypeAvailabilityByNotificationType;
 
                $wgUnrecognizedBounceNotify = $wgUnrecognizedBounceNotify ? : 
array( $wgNoReplyAddress );
                $wgVERPdomainPart = $wgVERPdomainPart ? : $wgServerName;
 
                //We cannot have additional Echo emails being sent after a user 
is un-subscribed
-               
$wgEchoDefaultNotificationTypes['unsubscribe-bouncehandler']['email'] = false;
+               
$wgNotifyTypeAvailabilityByNotificationType['unsubscribe-bouncehandler']['email']
 = false;
        }
 
        /**

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3c669945080d8e1f67880bd8a31af7f88a70904d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BounceHandler
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <mflasc...@wikimedia.org>

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

Reply via email to