From 749f15e7c0b55b12e1b95ad3a46e312d0e6c9c38 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 3 Mar 2005 20:02:07 +0000 Subject: - Modified patch #18328 by Neil: currently the two forum topic blocks share a number of topics in block setting. This is a bit confusing since configuring one blockshould not affect another block. Fixed some indentation as well. --- database/updates.inc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'database') diff --git a/database/updates.inc b/database/updates.inc index d5b9ed5c1..fc976c817 100644 --- a/database/updates.inc +++ b/database/updates.inc @@ -101,7 +101,8 @@ $sql_updates = array( "2005-01-27" => "update_122", "2005-01-28" => "update_123", "2005-02-11" => "update_124", - "2005-02-23" => "update_125" + "2005-02-23" => "update_125", + "2005-03-03" => "update_126" ); function update_32() { @@ -2303,6 +2304,12 @@ function update_125() { return $ret; } + +function update_126() { + $ret[] = update_sql("DELETE FROM {variable} WHERE name LIKE 'forum_block_%'"); + return $ret; +} + function update_sql($sql) { $edit = $_POST["edit"]; $result = db_query($sql); -- cgit v1.2.3