You are here

function update_uninstall in Drupal 6

Same name and namespace in other branches
  1. 8 core/modules/update/update.install \update_uninstall()
  2. 7 modules/update/update.install \update_uninstall()
  3. 9 core/modules/update/update.install \update_uninstall()
  4. 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);
  }
}