You are here

function agreement_uninstall in Agreement 6

Same name and namespace in other branches
  1. 6.2 agreement.install \agreement_uninstall()
  2. 7.2 agreement.install \agreement_uninstall()

Implementation of hook_uninstall().

File

./agreement.install, line 59
Install, update and uninstall functions for the Agreement module.

Code

function agreement_uninstall() {
  drupal_uninstall_schema('agreement');
  variable_del('agreement_role');
  variable_del('agreement_frequency');
  variable_del('agreement_text');
  variable_del('agreement_page_title');
  variable_del('agreement_page_url');
  variable_del('agreement_message_success');
  variable_del('agreement_message_failure');
  variable_del('agreement_checkbox_text');
  variable_del('agreement_submit_text');
  variable_del('agreement_success_destination');
  variable_del('agreement_page_visibility_settings');
  variable_del('agreement_page_visibility_pages');
}