equal
deleted
inserted
replaced
652 { |
652 { |
653 global $db, $session, $paths, $template, $plugins; // Common objects |
653 global $db, $session, $paths, $template, $plugins; // Common objects |
654 |
654 |
655 @set_time_limit(0); |
655 @set_time_limit(0); |
656 |
656 |
657 $q = $db->sql_query('DELETE FROM search_index;'); |
657 $q = $db->sql_query('DELETE FROM ' . table_prefix . 'search_index;'); |
658 if ( !$q ) |
658 if ( !$q ) |
659 $db->_die(); |
659 $db->_die(); |
660 |
660 |
661 $sha1_blank = sha1(''); |
661 $sha1_blank = sha1(''); |
662 $query_func = ( ENANO_DBLAYER == 'MYSQL' ) ? 'mysql_query' : 'pg_query'; |
662 $query_func = ( ENANO_DBLAYER == 'MYSQL' ) ? 'mysql_query' : 'pg_query'; |