Lwelling has uploaded a new change for review.

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


Change subject: Fix enabled/disabled logic for event logging in echo
......................................................................

Fix enabled/disabled logic for event logging in echo

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


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/05/60905/1

diff --git a/Notifier.php b/Notifier.php
index 7e44cc7..22d730f 100644
--- a/Notifier.php
+++ b/Notifier.php
@@ -28,7 +28,7 @@
         */
        public static function logEvent( $user, $event, $deliveryMethod ) {
                global $wgEchoConfig, $wgEchoNotifications;
-               if ( $wgEchoConfig['eventlogging']['Echo']['enabled'] ) {
+               if ( !$wgEchoConfig['eventlogging']['Echo']['enabled'] ) {
                        // Only attempt event logging if Echo schema is enabled
                        return;
                }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5dbf939a0651f5c1e97f896d5325437a5fc32b54
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Lwelling <[email protected]>

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

Reply via email to