You are here

function update_status_uninstall in Update Status 5.2

Implementation of hook_uninstall().

File

./update_status.install, line 33

Code

function update_status_uninstall() {
  $variables = array(
    'update_status_settings',
    'update_status_notify_emails',
    'update_status_check_frequency',
    'update_status_notification_threshold',
    'update_status_last',
    'update_status_fetch_url',
    'update_status_check_disabled',
  );
  foreach ($variables as $variable) {
    variable_del($variable);
  }
  db_query("DROP TABLE {cache_update_status}");
  cache_clear_all();
}