function update_uninstall
Same name in other branches
- 7.x modules/update/update.install \update_uninstall()
- 9 core/modules/update/update.install \update_uninstall()
- 8.9.x core/modules/update/update.install \update_uninstall()
- 11.x core/modules/update/update.install \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.