function elysia_cron_is_job_disabled in Elysia Cron 7
Same name and namespace in other branches
- 5.2 elysia_cron.module \elysia_cron_is_job_disabled()
- 5 elysia_cron.module \elysia_cron_is_job_disabled()
- 6.2 elysia_cron.module \elysia_cron_is_job_disabled()
- 6 elysia_cron.module \elysia_cron_is_job_disabled()
- 7.2 elysia_cron.module \elysia_cron_is_job_disabled()
2 calls to elysia_cron_is_job_disabled()
File
- ./
elysia_cron.module, line 590
Code
function elysia_cron_is_job_disabled($job, $default = false, $refresh = false) {
// May be overriden by a static conf
if (isset($GLOBALS['conf'][$n = 'ec_' . _ec_get_name($job) . '_d'])) {
return $GLOBALS['conf'][$n];
}
return elysia_cron_get($job, false, 'disable', $default, $refresh);
}