You are here

cleaner.install in Cleaner 7

Same filename and directory in other branches
  1. 5 cleaner.install
  2. 6 cleaner.install

Provide the install/uninstall hooks.

File

cleaner.install
View source
<?php

/**
 * @file
 * Provide the install/uninstall hooks.
 */

/**
 * Implements hook_uninstall().
 *
 * Remove module's provided variables.
 */
function cleaner_uninstall() {
  variable_del('cleaner_cron');
  variable_del('cleaner_last_cron');
  variable_del('cleaner_clear_cache');
  variable_del('cleaner_additional_tables');
  variable_del('cleaner_empty_watchdog');
  variable_del('cleaner_clean_sessions');
  variable_del('cleaner_clean_cssdir');
  variable_del('cleaner_clean_jsdir');
  variable_del('cleaner_optimize_db');
}

Functions

Namesort descending Description
cleaner_uninstall Implements hook_uninstall().