On this page
function update_uninstall
update_uninstall()
  Implements hook_uninstall().
File
- core/modules/update/update.install, line 72
 - Install, update, and uninstall functions for the Update Manager module.
 
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();
}
  © 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
 https://api.drupal.org/api/drupal/core!modules!update!update.install/function/update_uninstall/8.1.x