You are here

function languageicons_uninstall in Language Icons 7

Same name and namespace in other branches
  1. 6.2 languageicons.install \languageicons_uninstall()
  2. 6 languageicons.install \languageicons_uninstall()

Implements hook_uninstall().

File

./languageicons.install, line 18
Install, update, and uninstall functions for Language Icons.

Code

function languageicons_uninstall() {

  // Clear any variables that might be in use
  $variables = array(
    'languageicons_show_node',
    'languageicons_show_block',
    'languageicons_placement',
    'languageicons_path',
    'languageicons_size',
    'languageicons_show_tooltip',
  );
  foreach ($variables as $variable) {
    variable_del($variable);
  }
}