You are here

function languageicons_uninstall in Language Icons 6

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

Implementation of hook_uninstall().

File

./languageicons.install, line 19
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',
  );
  foreach ($variables as $variable) {
    variable_del($variable);
  }
}