From: Aaron Schulz Date: Wed, 29 Jan 2014 17:51:17 +0000 (-0800) Subject: Renamed "removeDuplicates" field to be slightly clearer X-Git-Tag: 1.31.0-rc.0~17090^2 X-Git-Url: http://git.cyclocoop.org//%22%22.url_de_base%28%29.%22/%22?a=commitdiff_plain;h=5db365c2fb3c8bc65ba17106e6b73edebb44c4d8;p=lhc%2Fweb%2Fwiklou.git Renamed "removeDuplicates" field to be slightly clearer Change-Id: I1dfeca54b928f20f4ea28724095d7dc6b907acf1 --- diff --git a/includes/job/JobSpecification.php b/includes/job/JobSpecification.php index 5bfee0bc2a..e074e5c0e8 100644 --- a/includes/job/JobSpecification.php +++ b/includes/job/JobSpecification.php @@ -92,7 +92,7 @@ class JobSpecification implements IJobSpecification { protected $title; /** @var bool Expensive jobs may set this to true */ - protected $removeDuplicates; + protected $ignoreDuplicates; /** * @param string $type @@ -108,7 +108,7 @@ class JobSpecification implements IJobSpecification { $this->type = $type; $this->params = $params; $this->title = $title ?: Title::newMainPage(); - $this->removeDuplicates = !empty( $opts['removeDuplicates'] ); + $this->ignoreDuplicates = !empty( $opts['removeDuplicates'] ); } /** @@ -158,7 +158,7 @@ class JobSpecification implements IJobSpecification { * @return bool Whether only one of each identical set of jobs should be run */ public function ignoreDuplicates() { - return $this->removeDuplicates; + return $this->ignoreDuplicates; } /**