function update_uninstall in Drupal 6
Same name and namespace in other branches
- 8 core/modules/update/update.install \update_uninstall()
- 7 modules/update/update.install \update_uninstall()
- 9 core/modules/update/update.install \update_uninstall()
- 10 core/modules/update/update.install \update_uninstall()
Implementation of hook_uninstall().
File
- modules/
update/ update.install, line 16
Code
function update_uninstall() {
// Remove cache table.
drupal_uninstall_schema('update');
// Clear any variables that might be in use
$variables = array(
'update_check_frequency',
'update_fetch_url',
'update_last_check',
'update_notification_threshold',
'update_notify_emails',
);
foreach ($variables as $variable) {
variable_del($variable);
}
}