mb_comment.install 321 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * @file
  4. * Installs, updates, and uninstalls More Buttons Comment.
  5. */
  6. /**
  7. * Implements hook_uninstall().
  8. */
  9. function mb_comment_uninstall() {
  10. // Remove variables.
  11. $node_types = array_keys(node_type_get_types());
  12. foreach ($node_types as $type) {
  13. variable_del('mb_comment_cancel_' . $type);
  14. }
  15. }