Commit 5c6898b7 authored by gbyte.co's avatar gbyte.co

Delete queue on uninstall

parent 640786ee
......@@ -74,6 +74,10 @@ function simple_sitemap_uninstall() {
'simple_sitemap.queue_items_initial_amount',
'simple_sitemap.queue_stashed_results',
]);
\Drupal::service('queue')
->get('simple_sitemap_elements')
->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