https://src.bluestatic.org
/
bugdar.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6417a78
)
r1459: We need to get rid of all the old searches in order for the system to work...
author
Robert Sesek <rsesek@bluestatic.org>
Mon, 12 Mar 2007 00:24:19 +0000
(
00:24
+0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Mon, 12 Mar 2007 00:24:19 +0000
(
00:24
+0000)
install/upgrade11.php
patch
|
blob
|
history
diff --git
a/install/upgrade11.php
b/install/upgrade11.php
index 19858903d963ea0d671be044b0d3cbf78b742651..f532ec2cbc22ed9cdfa3fa289d9108b8455975ce 100644
(file)
--- a/
install/upgrade11.php
+++ b/
install/upgrade11.php
@@
-87,6
+87,9
@@
if ($bugsys->in['mark'] == 2)
$db->query("ALTER TABLE " . TABLE_PREFIX . "search ADD name VARCHAR(250) NULL");
echo "Adding search.name to allow naming of searches<br />\n";
+ $db->query("DELETE FROM " . TABLE_PREFIX . "search");
+ echo "Clearing out all the old searches<br />\n";
+
echo "... done<br />\n";
}