Commit 03471253 authored by Dries's avatar Dries
Browse files

- Patch #42956 by Matt: fixed warnings in update path.

parent 45db74aa
......@@ -1335,7 +1335,7 @@ function system_update_164() {
}
function system_update_165() {
$cron_last = max(variable_get('drupal_cron_last'), variable_get('ping_cron_last'));
$cron_last = max(variable_get('drupal_cron_last', 0), variable_get('ping_cron_last', 0));
variable_set('cron_last', $cron_last);
variable_del('drupal_cron_last');
variable_del('ping_cron_last');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment