From dc8f6be46fade9c10146a20f18fbc5afc450c941 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Sun, 27 Jan 2002 19:27:17 +0000 Subject: - added default value to enable user block to update.php - did a new dump of the database from a clean upgrade as my local devel is a little infected with additional tables. --- update.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'update.php') diff --git a/update.php b/update.php index 90564ea21..b053b0578 100644 --- a/update.php +++ b/update.php @@ -44,6 +44,7 @@ $mysql_updates = array( "2001-12-31" => "update_17", "2002-01-05" => "update_18", "2002-01-17" => "update_19", + "2002-01-27" => "update_20" ); // Update functions @@ -317,6 +318,10 @@ function update_19() { update_sql("ALTER TABLE users ADD data TEXT;"); } +function update_20() { + update_sql("INSERT INTO blocks SET name='User information', module='user', delta='0', status='2', weight='0', region='1', remove='0', path='';"); +} + /* ** System functions */ @@ -385,13 +390,12 @@ function update_page() { } print "

Drupal update

"; +// Security check: if (user_access(NULL)) { update_page(); } else { print message_access(); } - print ""; - ?> \ No newline at end of file -- cgit v1.2.3