Implements hook_uninstall().
function update_uninstall() {
// @todo D8: Convert to new state storage.
variable_del('update_last_check');
variable_del('update_last_email_notification');
$queue = Drupal::queue('update_fetch_tasks');
$queue
->deleteQueue();
}