You are here

function submitted_by_uninstall in Submitted By 7

Same name and namespace in other branches
  1. 6 submitted_by.install \submitted_by_uninstall()

Implements hook_uninstall().

File

./submitted_by.install, line 11
Install, update and uninstall functions for the Submitted By module.

Code

function submitted_by_uninstall() {

  // Remove any variables that we have set.
  foreach (node_type_get_names() as $type => $name) {
    variable_del('submitted_by_' . $type);
    variable_del('submitted_by_comment_node_' . $type);
  }
}