You are here

function update_uninstall in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/update/update.install \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();
}