You are here

function clone_uninstall in Node clone 6

Same name and namespace in other branches
  1. 5.2 clone.install \clone_uninstall()
  2. 5 clone.install \clone_uninstall()
  3. 7 clone.install \clone_uninstall()

Implementation of hook_uninstall.

File

./clone.install, line 10
Install & uninstall functions for Node_Clone module.

Code

function clone_uninstall() {
  variable_del('clone_method');
  variable_del('clone_omitted');
  variable_del('clone_nodes_without_confirm');
  variable_del('clone_menu_links');
  $types = node_get_types('names');
  foreach ($types as $type => $name) {
    variable_del('clone_reset_' . $type);
  }
}