summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-01-04 11:03:15 +0000
committerDries Buytaert <dries@buytaert.net>2003-01-04 11:03:15 +0000
commit8a636465767fc47f37a0768d45b86ca53a722085 (patch)
tree85d014902b87d9a695358fae16b64726b882b5f4 /update.php
parent7a6b8e3d3cc26d242b3c7cbb2eaf252d69b8192f (diff)
downloadbrdo-8a636465767fc47f37a0768d45b86ca53a722085.tar.gz
brdo-8a636465767fc47f37a0768d45b86ca53a722085.tar.bz2
- Added an extra parameter to watchdog() which lets you specifiy an "action"
or "operation" link. - Made the main page of the administration section show an overview of all watchdog entries with such action link. - Fixed typo in PostgreSQL database scheme.
Diffstat (limited to 'update.php')
-rw-r--r--update.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/update.php b/update.php
index 8b5362c5d..a07f641a7 100644
--- a/update.php
+++ b/update.php
@@ -60,7 +60,8 @@ $mysql_updates = array(
"2002-11-20" => "update_45",
"2002-12-10" => "update_46",
"2002-12-22" => "update_47",
- "2002-12-29" => "update_48"
+ "2002-12-29" => "update_48",
+ "2003-01-03" => "update_49"
);
// Update functions
@@ -662,6 +663,10 @@ function update_48() {
}
}
+function update_49() {
+ update_sql("ALTER TABLE watchdog ADD link varchar(255) DEFAULT '' NULL");
+}
+
function update_upgrade3() {
update_sql("INSERT INTO system VALUES ('archive.module','archive','module','',1)");
update_sql("INSERT INTO system VALUES ('block.module','block','module','',1)");