You are here

site_disclaimer.install in Site Disclaimer 7

Same filename and directory in other branches
  1. 6 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.
 *
 */

/**
 * Implements hook_uninstall().
 */
function site_disclaimer_uninstall() {

  // Delete variables.
  module_load_include('variable.inc', 'site_disclaimer');

  // for itweak_login_variable_info()
  foreach (array_keys(site_disclaimer_variable_info(array())) as $var) {
    variable_del($var);
  }
  variable_del('site_disclaimer_version');
  variable_del('site_disclaimer_allow_nodes');
}

Functions

Namesort descending Description
site_disclaimer_uninstall Implements hook_uninstall().