Commit 810a5957 authored by Dries's avatar Dries

- Patch #805052 by mikey_p: notice in update.php in drupal_session_initialize().

parent f42b6ada
......@@ -179,6 +179,12 @@ function update_prepare_d7_bootstrap() {
);
db_create_table('cache_bootstrap', $cache_bootstrap);
}
// Set a valid timezone for 6 -> 7 upgrade process.
drupal_bootstrap(DRUPAL_BOOTSTRAP_VARIABLES);
if (is_numeric(variable_get('date_default_timezone', 0))) {
$GLOBALS['conf']['date_default_timezone'] = 'UTC';
}
}
/**
......
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