function poormanscron_update_6200 in Poormanscron 6.2
Upgrade to the D7 variable names for easy transition.
File
- ./
poormanscron.install, line 22 - Install, update and uninstall functions for the poormanscron module.
Code
function poormanscron_update_6200() {
$interval = variable_get('poormanscron_interval', 60) * 60;
variable_set('cron_safe_threshold', max($interval, 3600));
variable_del('poormanscron_interval');
variable_del('poormanscron_retry_interval');
variable_del('poormanscron_log_cron_runs');
return array();
}