Skip to content
Snippets Groups Projects
Commit 22409425 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2175769 by alexpott: Fix incorrect variable_del() in update_uninstall().

parent af1ca73a
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -68,9 +68,8 @@ function update_install() {
* Implements hook_uninstall().
*/
function update_uninstall() {
// @todo D8: Convert to new state storage.
variable_del('update_last_check');
variable_del('update_last_email_notification');
\Drupal::state()->delete('update.last_check');
\Drupal::state()->delete('update.last_email_notification');
$queue = \Drupal::queue('update_fetch_tasks');
$queue->deleteQueue();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment