jenkins-bot has submitted this change and it was merged.

Change subject: Fixed backwards JobQueueFederated::doIsEmpty() method
......................................................................


Fixed backwards JobQueueFederated::doIsEmpty() method

Change-Id: I6b7dfb76621e9b6407829de7faf86495325512c8
---
M includes/job/JobQueueFederated.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Aaron Schulz: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/job/JobQueueFederated.php 
b/includes/job/JobQueueFederated.php
index f4caac6..9502148 100644
--- a/includes/job/JobQueueFederated.php
+++ b/includes/job/JobQueueFederated.php
@@ -163,7 +163,7 @@
                $this->throwErrorIfAllPartitionsDown( $failed );
 
                $this->cache->add( $key, $empty ? 'true' : 'false', 
self::CACHE_TTL_LONG );
-               return !$empty;
+               return $empty;
        }
 
        protected function doGetSize() {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6b7dfb76621e9b6407829de7faf86495325512c8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to