cleaner.install in Cleaner 7
Same filename and directory in other branches
Provide the install/uninstall hooks.
File
cleaner.installView 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
Name | Description |
---|---|
cleaner_uninstall | Implements hook_uninstall(). |