clone.install 394 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * Implementation of hook_uninstall.
  4. */
  5. function clone_uninstall() {
  6. variable_del('clone_method');
  7. variable_del('clone_omitted');
  8. variable_del('clone_nodes_without_confirm');
  9. variable_del('clone_use_node_type_name');
  10. variable_del('clone_menu_links');
  11. $types = node_type_get_names();
  12. foreach ($types as $type => $name) {
  13. variable_del('clone_reset_'. $type);
  14. }
  15. }