includes/common.php
changeset 279 8acd77a6c19d
parent 271 f088805540ae
parent 272 e0ec986c0af3
child 304 e2cb5f1432c8
--- a/includes/common.php	Wed Nov 21 20:45:50 2007 -0500
+++ b/includes/common.php	Wed Nov 21 21:03:48 2007 -0500
@@ -158,14 +158,6 @@
 // Low level maintenance
 //
 
-// If the search algorithm backend has been changed, empty out the search cache (the two cache formats are incompatible with each other)
-if ( getConfig('last_search_algo') != SEARCH_MODE )
-{
-  if ( !$db->sql_query('DELETE FROM '.table_prefix.'search_cache;') )
-    $db->_die();
-  setConfig('last_search_algo', SEARCH_MODE);
-}
-
 // If the AES key size has been changed, bail out and fast
 if ( !getConfig('aes_key_size') )
 {
@@ -235,7 +227,6 @@
     table_prefix.'groups',
     table_prefix.'group_members',
     table_prefix.'acl',
-    table_prefix.'search_cache',
     table_prefix.'page_groups',
     table_prefix.'page_group_members',
     table_prefix.'tags'