protected $title;
/** @var bool Expensive jobs may set this to true */
- protected $removeDuplicates;
+ protected $ignoreDuplicates;
/**
* @param string $type
$this->type = $type;
$this->params = $params;
$this->title = $title ?: Title::newMainPage();
- $this->removeDuplicates = !empty( $opts['removeDuplicates'] );
+ $this->ignoreDuplicates = !empty( $opts['removeDuplicates'] );
}
/**
* @return bool Whether only one of each identical set of jobs should be run
*/
public function ignoreDuplicates() {
- return $this->removeDuplicates;
+ return $this->ignoreDuplicates;
}
/**