You are here

site_disclaimer.install in Site Disclaimer 6

Same filename and directory in other branches
  1. 7 site_disclaimer.install

Install, update and uninstall functions for the Site Disclaimer module.

File

site_disclaimer.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the Site Disclaimer module.
 *
 */

/**
 * Implementation of hook_uninstall().
 */
function site_disclaimer_uninstall() {

  // Delete variables.
  variable_del('site_disclaimer_node_title');
  variable_del('site_disclaimer_node_id');
  variable_del('site_disclaimer_title');
  variable_del('site_disclaimer_fieldset');
  variable_del('site_disclaimer_checkbox_label');
  variable_del('site_disclaimer_version');
  variable_del('site_disclaimer_version_details');
  variable_del('site_disclaimer_allow_nodes');
}

Functions

Namesort descending Description
site_disclaimer_uninstall Implementation of hook_uninstall().