You are here

function itoggle_uninstall in iToggle 7.2

Same name and namespace in other branches
  1. 7 itoggle.install \itoggle_uninstall()

Implements hook_uninstall().

File

./itoggle.install, line 10
iToggle installation hooks.

Code

function itoggle_uninstall() {

  // Remove used variables.
  $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'itoggle%'");
  foreach ($result as $row) {
    variable_del($row->name);
  }
}