includes/common.php
changeset 220 2d4bb97fa75a
parent 218 e0ec986c0af3
child 229 b2f985e4cef3
--- a/includes/common.php	Wed Nov 21 15:11:51 2007 -0500
+++ b/includes/common.php	Wed Nov 21 15:13:06 2007 -0500
@@ -156,14 +156,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') )
 {
@@ -212,7 +204,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'