Fixed backwards JobQueueFederated::doIsEmpty() method
[lhc/web/wiklou.git] / includes / job / JobQueueFederated.php
index f4caac6..9502148 100644 (file)
@@ -163,7 +163,7 @@ class JobQueueFederated extends JobQueue {
                $this->throwErrorIfAllPartitionsDown( $failed );
 
                $this->cache->add( $key, $empty ? 'true' : 'false', self::CACHE_TTL_LONG );
-               return !$empty;
+               return $empty;
        }
 
        protected function doGetSize() {