Commit c8f9b450 authored by gbyte.co's avatar gbyte.co

Issue #3000150 by slasher13: #2924080 doesn't work with redis

parent e963e288
...@@ -7,7 +7,7 @@ use Drupal\simple_sitemap\SimplesitemapSettings; ...@@ -7,7 +7,7 @@ use Drupal\simple_sitemap\SimplesitemapSettings;
use Drupal\Core\Extension\ModuleHandler; use Drupal\Core\Extension\ModuleHandler;
use Drupal\simple_sitemap\SimplesitemapManager; use Drupal\simple_sitemap\SimplesitemapManager;
use Drupal\Core\State\State; use Drupal\Core\State\State;
use Drupal\Core\ProxyClass\Lock\DatabaseLockBackend; use Drupal\Core\Lock\LockBackendInterface;
class QueueWorker { class QueueWorker {
...@@ -88,14 +88,14 @@ class QueueWorker { ...@@ -88,14 +88,14 @@ class QueueWorker {
* @param \Drupal\Core\State\State $state * @param \Drupal\Core\State\State $state
* @param \Drupal\Core\Extension\ModuleHandler $module_handler * @param \Drupal\Core\Extension\ModuleHandler $module_handler
* @param \Drupal\simple_sitemap\Queue\ElementQueue $element_queue * @param \Drupal\simple_sitemap\Queue\ElementQueue $element_queue
* @param \Drupal\Core\ProxyClass\Lock\DatabaseLockBackend $lock * @param \Drupal\Core\Lock\LockBackendInterface $lock
*/ */
public function __construct(SimplesitemapSettings $settings, public function __construct(SimplesitemapSettings $settings,
SimplesitemapManager $manager, SimplesitemapManager $manager,
State $state, State $state,
ModuleHandler $module_handler, ModuleHandler $module_handler,
ElementQueue $element_queue, ElementQueue $element_queue,
DatabaseLockBackend $lock) { LockBackendInterface $lock) {
$this->settings = $settings; $this->settings = $settings;
$this->manager = $manager; $this->manager = $manager;
$this->state = $state; $this->state = $state;
......
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