function apachesolr_autocomplete_update_7100 in Apache Solr Autocomplete 7
Implementation of hook_update_N().
Since the menu handler path has changed, we need to rebuild the menus. Also, JS files are changed so we need to clear any JS aggregated files.
File
- ./
apachesolr_autocomplete.install, line 26 - ApacheSolr Autocomplete module install, update and uninstall functions.
Code
function apachesolr_autocomplete_update_7100() {
cache_clear_all(NULL, 'cache_menu');
drupal_clear_js_cache();
// Tell what happenned.
drupal_set_message(t("Rebuilt menu paths, and cleared JS aggregation cache."));
return array();
}