summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2003-08-07 18:43:06 +0000
committerDries Buytaert2003-08-07 18:43:06 +0000
commit856db039c12cfb3ac1b7c6e7a99a28d208875918 (patch)
treea09c94afe8302c52ecbad13e12e06c3e722d03bc
parent7e54037d1bc2205b1dcdf29f074712feb5ca0a08 (diff)
- Made sure the rid of user 1 is set.
-rw-r--r--update.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/update.php b/update.php
index 42a3e42..5f1c7dd 100644
--- a/update.php
+++ b/update.php
@@ -727,6 +727,7 @@ function update_56() {
function update_57() {
update_sql("DELETE FROM variable WHERE name = 'site_charset'");
+ update_sql("UPDATE users SET rid = 2 WHERE uid = 1");
}
function update_upgrade3() {
@@ -813,7 +814,7 @@ function update_page() {
global $user, $mysql_updates;
$edit = $_POST["edit"];
-
+
if ($_POST["op"] == "Update") {
// make sure we have updates to run.
print update_page_header("Drupal database update");