summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-12-09 10:47:16 +0000
committerDries Buytaert <dries@buytaert.net>2001-12-09 10:47:16 +0000
commite1f21d2b864c82ef9b5790e45ae53db66c4e3327 (patch)
tree35cde8766ca979805fa609ade484e3a686c1639a /update.php
parent0143ae494d4b374d86adddc5cfcefd4df9c3ef5c (diff)
downloadbrdo-e1f21d2b864c82ef9b5790e45ae53db66c4e3327.tar.gz
brdo-e1f21d2b864c82ef9b5790e45ae53db66c4e3327.tar.bz2
- Included the new documentation and renamed all "referer"s to
"referrers" (including the SQL table name). Thanks Greg.
Diffstat (limited to 'update.php')
-rw-r--r--update.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/update.php b/update.php
index e71bd0ff6..b648584cf 100644
--- a/update.php
+++ b/update.php
@@ -19,6 +19,7 @@ $mysql_updates = array(
"2001-11-17: distributed authentication" => "update_10",
"2001-12-01" => "update_11",
"2001-12-06" => "update_12",
+ "2001-12-09" => "update_13",
);
// Update functions
@@ -247,6 +248,10 @@ function update_12() {
update_sql("ALTER TABLE book ADD format tinyint(2) DEFAULT '0';");
}
+function update_13() {
+ update_sql("ALTER TABLE referer RENAME AS referrer;");
+}
+
// System functions
function update_sql($sql) {
global $edit;