You are here

function node_authlink_uninstall in Node authorize link 7

Implements hook_uninstall().

File

./node_authlink.install, line 47
Installation and update of the node_authlink module.

Code

function node_authlink_uninstall() {
  $node_types = node_type_get_types();
  foreach ($node_types as $node_type) {
    variable_del('node_authlink_enable_' . $node_type->type);
    variable_del('node_authlink_grants_' . $node_type->type);
    variable_del('node_authlink_expire_' . $node_type->type);
  }
}