Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
810a5957
Commit
810a5957
authored
May 21, 2010
by
Dries Buytaert
Browse files
- Patch
#805052
by mikey_p: notice in update.php in drupal_session_initialize().
parent
f42b6ada
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/update.inc
View file @
810a5957
...
...
@@ -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'
;
}
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment