summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-08-22 17:06:44 +0000
committerDries Buytaert <dries@buytaert.net>2003-08-22 17:06:44 +0000
commit4e2ee96d4c04fbee06abcd3d0bf84a7893792c7f (patch)
treefe81455832b44894f1cb9b96a3690279a2c195f9 /update.php
parent134c9eb8878a814d6955e6471aa10f93302d20f8 (diff)
downloadbrdo-4e2ee96d4c04fbee06abcd3d0bf84a7893792c7f.tar.gz
brdo-4e2ee96d4c04fbee06abcd3d0bf84a7893792c7f.tar.bz2
- 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.
Diffstat (limited to 'update.php')
-rw-r--r--update.php10
1 files changed, 5 insertions, 5 deletions
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) {