Commit 22409425 authored by webchick's avatar webchick

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

parent af1ca73a
...@@ -68,9 +68,8 @@ function update_install() { ...@@ -68,9 +68,8 @@ function update_install() {
* Implements hook_uninstall(). * Implements hook_uninstall().
*/ */
function update_uninstall() { function update_uninstall() {
// @todo D8: Convert to new state storage. \Drupal::state()->delete('update.last_check');
variable_del('update_last_check'); \Drupal::state()->delete('update.last_email_notification');
variable_del('update_last_email_notification');
$queue = \Drupal::queue('update_fetch_tasks'); $queue = \Drupal::queue('update_fetch_tasks');
$queue->deleteQueue(); $queue->deleteQueue();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment