You are here

function submitted_by_uninstall in Submitted By 6

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

Implementation of hook_uninstall().

File

./submitted_by.install, line 12
Take over the "Submitted by" theme function to allow different content types to have different strings.

Code

function submitted_by_uninstall() {

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