You are here

function enforce_revlog_uninstall in Enforce revision log message 6

Same name and namespace in other branches
  1. 7 enforce_revlog.install \enforce_revlog_uninstall()

Implementation of hook_uninstall().

File

./enforce_revlog.install, line 20
(Un)Installation routines for enforce_revlog

Code

function enforce_revlog_uninstall() {

  // Delete admin_skip variable. Kept for backward compatibility
  variable_del('enforce_revlog_admin_skip');

  // Delete revision revert variable
  variable_del('enforce_revlog_revision_revert');

  /**
   * Delete node type mapping variables.
   * @see enforce_revlog_node_type()
   */
  foreach (node_get_types() as $type => $name) {
    variable_del('enforce_revlog_node_type_' . $type);
  }
}