summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
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;