From 5db365c2fb3c8bc65ba17106e6b73edebb44c4d8 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 29 Jan 2014 09:51:17 -0800 Subject: [PATCH] Renamed "removeDuplicates" field to be slightly clearer Change-Id: I1dfeca54b928f20f4ea28724095d7dc6b907acf1 --- includes/job/JobSpecification.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } /** -- 2.20.1