You are here

function finder_update_7204 in Finder 7.2

Finder 1.x to 2.x updates. Check your settings!

File

./finder.install, line 595
Finder module install file.

Code

function finder_update_7204() {

  // Upgraders will expect the admin ui.
  module_enable(array(
    'finder_ui',
  ));
  variable_del('finder_custom_matching');
  variable_del('finder_search_finder_results_theme');
  variable_del('finder_old_finders');
  cache_clear_all();
  drupal_set_message('Welcome to version 2 of the Finder module.  The finder settings have changed, please check the configuration on all your finders.  An attempt was made to upgrade your finders, but it will be necessary to review the configuration.');
  return 'Finder 1.x to 2.x updates.  Check your settings!';
}