You are here

function elysia_cron_set_job_disabled in Elysia Cron 5

Same name and namespace in other branches
  1. 5.2 elysia_cron.module \elysia_cron_set_job_disabled()
  2. 6.2 elysia_cron.module \elysia_cron_set_job_disabled()
  3. 6 elysia_cron.module \elysia_cron_set_job_disabled()
  4. 7.2 elysia_cron.module \elysia_cron_set_job_disabled()
  5. 7 elysia_cron.module \elysia_cron_set_job_disabled()
1 call to elysia_cron_set_job_disabled()
elysia_cron_settings_form_submit in ./elysia_cron.admin.inc

File

./elysia_cron.module, line 598

Code

function elysia_cron_set_job_disabled($job, $v) {
  return elysia_cron_set($job, false, array(
    'disable' => $v ? 1 : 0,
  ));
}