/** * @see Job::insert * * This actually files the job. This is prevented if the configuration of SMW * disables jobs. * * @note Any method that inserts jobs with Job::batchInsert or otherwise must * implement this check individually. The below is not called in these cases. * * @codeCoverageIgnore */ public function insert() { if (ApplicationFactory::getInstance()->getSettings()->get('smwgEnableUpdateJobs')) { parent::insert(); } }
/** * @see Job::insert * * @since 1.9 * @codeCoverageIgnore */ public function insert() { if ($this->applicationFactory->getSettings()->get('smwgEnableUpdateJobs')) { parent::insert(); } }
/** * @see Job::insert * @codeCoverageIgnore */ public function insert() { if ($this->enabledJobQueue) { parent::insert(); } }