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