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();
}
doc_Drupal
2016-10-29 09:51:28
Comments
Leave a Comment

Please login to continue.