Mwalker has uploaded a new change for review.

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


Change subject: Do not set a null checked variable to false
......................................................................

Do not set a null checked variable to false

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


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm 
refs/changes/95/86195/1

diff --git a/sites/all/modules/wmf_common/Queue.php 
b/sites/all/modules/wmf_common/Queue.php
index 18e7605..d55e9cd 100644
--- a/sites/all/modules/wmf_common/Queue.php
+++ b/sites/all/modules/wmf_common/Queue.php
@@ -120,7 +120,7 @@
                 $this->connection->connect();
             }
             catch ( Stomp_Exception $e ) {
-                $this->connection = false;
+                $this->connection = null;
                 watchdog( 'wmf_common', "Queue connection failure #$attempt: " 
. $e->getMessage(), array(), WATCHDOG_ERROR );
             }
         }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3350e8dd2bcaf9a73da0268d945a9dd90be4abe1
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Mwalker <[email protected]>

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

Reply via email to