return;
}
- $last = get_config('system', 'last_cronhook');
+ $last = Config::get('system', 'last_cronhook');
- $poll_interval = intval(get_config('system', 'cronhook_interval'));
+ $poll_interval = intval(Config::get('system', 'cronhook_interval'));
if (! $poll_interval) {
$poll_interval = 9;
}
}
}
- $a->set_baseurl(get_config('system', 'url'));
+ $a->set_baseurl(Config::get('system', 'url'));
logger('cronhooks: start');
logger('cronhooks: end');
- set_config('system', 'last_cronhook', time());
+ Config::set('system', 'last_cronhook', time());
return;
}