You are here

function skinr_uninstall in Skinr 6

Same name and namespace in other branches
  1. 6.2 skinr.install \skinr_uninstall()
  2. 7.2 skinr.install \skinr_uninstall()

Implementation of hook_uninstall().

File

./skinr.install, line 11
skinr.install Contains install, update, and uninstall functions for Skinr.

Code

function skinr_uninstall() {
  $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'skinr_%'");
  while ($variable = db_fetch_object($result)) {
    variable_del($variable->name);
  }
}