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