You are here

function search404_uninstall in Search 404 5

Same name and namespace in other branches
  1. 8 search404.install \search404_uninstall()
  2. 6 search404.install \search404_uninstall()
  3. 7 search404.install \search404_uninstall()
  4. 2.x search404.install \search404_uninstall()

File

./search404.install, line 15

Code

function search404_uninstall() {
  if (variable_get('site_404', '') == 'search404') {
    variable_del('site_404');
  }
  variable_del('search404_first');
  variable_del('search404_jump');
  variable_del('search404_use_or');
  variable_del('search404_ignore');
  variable_del('search404_ignore_query');
  variable_del('search404_ignore_extensions');
  variable_del('search404_use_search_engine');
}