function search_autocomplete_update_6200 in Search Autocomplete 6.2
Get ready to version from 1.x to 2.0
File
- ./
search_autocomplete.install, line 232 - This file is used to install/update/delete the module tables in database
Code
function search_autocomplete_update_6200() {
// if tables does'not already exists: run install
$ret = array();
if (!db_table_exists('search_autocomplete_forms') && !db_table_exists('search_autocomplete_suggestions')) {
search_autocomplete_install();
// Rebuild system table contents.
module_rebuild_cache();
system_theme_data();
}
return $ret;
}