You are here

public function UltimateCronJob::disable in Ultimate Cron 7.2

Disable a job.

File

./ultimate_cron.job.inc, line 263
Job class for Ultimate Cron.

Class

UltimateCronJob
Class for handling cron jobs.

Code

public function disable() {
  if (empty($this->hook['immutable'])) {
    ctools_include('export');
    ctools_export_crud_disable('ultimate_cron_job', $this);
    return TRUE;
  }
  return FALSE;
}