function update_uninstall
Implements hook_uninstall().
File
- 
              core/modules/ update/ update.install, line 84 
Code
function update_uninstall() {
  \Drupal::state()->delete('update.last_check');
  \Drupal::state()->delete('update.last_email_notification');
  $queue = \Drupal::queue('update_fetch_tasks');
  $queue->deleteQueue();
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
