From 4e2ee96d4c04fbee06abcd3d0bf84a7893792c7f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 22 Aug 2003 17:06:44 +0000 Subject: - Removed left-overs from the rating module. Patch by Gerhard. Updated the PostgreSQL and MSSQL database scheme as well. - Made sure the update script updates the correct tables when database prefixing is enabled. Patch by Bart Jansens. - Improved the breadcrumb navigation of the book and the forum module as per Keith Instone's suggestions. - Updated page titles (or block titles) and links to match. Suggested by Keith Instone. - Added missing 'thread' field to the comment table of the MySQL database scheme. Fixes bug #2590. --- update.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'update.php') diff --git a/update.php b/update.php index feff9f2e0..1b7a72325 100644 --- a/update.php +++ b/update.php @@ -329,11 +329,11 @@ function _update_thread_structure($comments, $pid, $depth, $structure) { } function update_60() { - update_sql("ALTER TABLE forum DROP icon"); + update_sql("ALTER TABLE {forum} DROP icon"); } function update_61() { - update_sql("CREATE TABLE IF NOT EXISTS sessions ( + update_sql("CREATE TABLE IF NOT EXISTS {sessions} ( uid int(10) unsigned NOT NULL, sid varchar(32) NOT NULL default '', hostname varchar(128) NOT NULL default '', @@ -344,9 +344,9 @@ function update_61() { KEY timestamp (timestamp) )"); - update_sql("ALTER TABLE users DROP session;"); - update_sql("ALTER TABLE users DROP hostname;"); - update_sql("ALTER TABLE users DROP sid;"); + update_sql("ALTER TABLE {users} DROP session;"); + update_sql("ALTER TABLE {users} DROP hostname;"); + update_sql("ALTER TABLE {users} DROP sid;"); } function _update_next_thread($structure, $parent) { -- cgit v1.2.3