You are here

function inline_registration_uninstall in Inline Registration 7

Same name and namespace in other branches
  1. 5 inline_registration.install \inline_registration_uninstall()
  2. 6 inline_registration.install \inline_registration_uninstall()

Implements hook_uninstall().

File

./inline_registration.install, line 17
Install, update and uninstall functions for the inline_registration module.

Code

function inline_registration_uninstall() {

  // Delete variables.
  foreach (node_type_get_types() as $type) {
    variable_del('inline_registration_' . $type->type);
    variable_del('inline_registration_weight_' . $type->type);
  }
}