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() {
* 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();
......
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