/**
 * Implementation of hook_uninstall().
 */
function taxonomy_super_select_install() {
  // Delete our variables.
  $result = db_query("SELECT vid FROM {vocabulary}");
  while ($vid = db_result($result)) {
    variable_del('taxonomy_super_select_vid_'. $vid);
  }
}

Comments

NancyDru’s picture

Oops, typed it wrong.

/**
 * Implementation of hook_uninstall().
 */
function taxonomy_super_select_uninstall() {
  // Delete our variables.
  $result = db_query("SELECT vid FROM {vocabulary}");
  while ($vid = db_result($result)) {
    variable_del('taxonomy_super_select_vid_'. $vid);
  }
}
NancyDru’s picture

Status: Needs review » Fixed

This is now in 5.x-1.10.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.