Catrope has uploaded a new change for review.

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

Change subject: processEchoEmailBatch.php: Don't exit with code 1 if Echo is 
not installed
......................................................................

processEchoEmailBatch.php: Don't exit with code 1 if Echo is not installed

Bug: T137771
Change-Id: I1bef7719dd7976110c9cbff4a2ce2d4d4397aff0
---
M maintenance/processEchoEmailBatch.php
1 file changed, 2 insertions(+), 1 deletion(-)


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

diff --git a/maintenance/processEchoEmailBatch.php 
b/maintenance/processEchoEmailBatch.php
index ad94331..009ad67 100644
--- a/maintenance/processEchoEmailBatch.php
+++ b/maintenance/processEchoEmailBatch.php
@@ -31,7 +31,8 @@
                global $wgEchoCluster;
 
                if ( !class_exists( 'EchoHooks' ) ) {
-                       $this->error( "Echo isn't enabled on this wiki\n", 1 );
+                       $this->error( "Echo isn't enabled on this wiki\n" );
+                       return;
                }
 
                $ignoreConfiguredSchedule = $this->getOption( 
"ignoreConfiguredSchedule", 0 );

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

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

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

Reply via email to