summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-06-20 21:15:44 +0000
committerDries Buytaert <dries@buytaert.net>2006-06-20 21:15:44 +0000
commit45ff81b55c38e1c7b57dbe9fce2f9a39b84a3328 (patch)
tree3f90b740e96b9bfa521516ce35e8ca84c32aa765 /update.php
parentcbe0081a8c7e955870a374b5232a0f0487adb176 (diff)
downloadbrdo-45ff81b55c38e1c7b57dbe9fce2f9a39b84a3328.tar.gz
brdo-45ff81b55c38e1c7b57dbe9fce2f9a39b84a3328.tar.bz2
- Patch #69405 by dww: fixed update.php.
Diffstat (limited to 'update.php')
-rw-r--r--update.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/update.php b/update.php
index c28243c1a..a6b32e7dc 100644
--- a/update.php
+++ b/update.php
@@ -661,11 +661,14 @@ ini_set('display_errors', FALSE);
include_once './includes/bootstrap.inc';
update_fix_system_table();
-update_fix_access_table();
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
drupal_maintenance_theme();
+// This must happen *after* drupal_bootstrap(), since it calls
+// variable_(get|set), which only works after a full bootstrap.
+update_fix_access_table();
+
// Turn error reporting back on. From now on, only fatal errors (which are
// not passed through the error handler) will cause a message to be printed.
ini_set('display_errors', TRUE);