r1459: We need to get rid of all the old searches in order for the system to work...
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 12 Mar 2007 00:24:19 +0000 (00:24 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 12 Mar 2007 00:24:19 +0000 (00:24 +0000)
install/upgrade11.php

index 19858903d963ea0d671be044b0d3cbf78b742651..f532ec2cbc22ed9cdfa3fa289d9108b8455975ce 100644 (file)
@@ -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";
 }