From: Aaron Schulz Date: Thu, 12 Dec 2013 21:57:00 +0000 (-0800) Subject: Removed stray ! in isQueueDeprioritized() X-Git-Tag: 1.31.0-rc.0~17656^2 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=867431cc4dcd6b1dbc48f3ea82a51272639f49ad;p=lhc%2Fweb%2Fwiklou.git Removed stray ! in isQueueDeprioritized() Change-Id: I7a4b7f6205350dd61cb37a6cd9b57d40cd74e6c8 --- diff --git a/includes/job/JobQueueGroup.php b/includes/job/JobQueueGroup.php index a3ec8a7fea..4f11bbf7fa 100644 --- a/includes/job/JobQueueGroup.php +++ b/includes/job/JobQueueGroup.php @@ -347,7 +347,7 @@ class JobQueueGroup { // later jobs have not been done yet. This helps throttle queue spam. // @TODO: this is mostly a WMF-specific hack and should be removed when // refreshLinks2 jobs are drained. - $deprioritized = !$this->get( 'refreshLinks' )->getSize() > 10000; + $deprioritized = $this->get( 'refreshLinks' )->getSize() > 10000; $this->cache->set( 'isDeprioritized', $type, $deprioritized ); return $deprioritized;