Adamw has submitted this change and it was merged.

Change subject: Return a valid result from enqueue
......................................................................


Return a valid result from enqueue

Change-Id: Iaaea5a3960df205d6b264094ae98ede526682a2d
---
M sites/all/modules/wmf_common/Queue.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Adamw: Verified; Looks good to me, approved



diff --git a/sites/all/modules/wmf_common/Queue.php 
b/sites/all/modules/wmf_common/Queue.php
index 92eecf3..18e7605 100644
--- a/sites/all/modules/wmf_common/Queue.php
+++ b/sites/all/modules/wmf_common/Queue.php
@@ -199,7 +199,7 @@
 
       $retval = FALSE;
       try {
-        $this->enqueue( $msg, $headers, $queue );
+        $retval = $this->enqueue( $msg, $headers, $queue );
       } catch (Stomp_Exception $ex) {
         $exMsg = "Failed to requeue message with {$ex->getMessage()}. 
Contents: " . json_encode($msg_orig);
         watchdog('recurring', $exMsg, NULL, WATCHDOG_ERROR);

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaaea5a3960df205d6b264094ae98ede526682a2d
Gerrit-PatchSet: 2
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Mwalker <[email protected]>
Gerrit-Reviewer: Adamw <[email protected]>
Gerrit-Reviewer: Katie Horn <[email protected]>

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

Reply via email to