Commit f33f00d3 authored by ec0g's avatar ec0g Committed by gbyte.co

Issue #2713661 by ec0g: Fatal error: Call to undefined function...

Issue #2713661 by ec0g: Fatal error: Call to undefined function Drupal\simple_sitemap\Batch::finishBatch()
parent b2e414ec
......@@ -32,7 +32,7 @@ class Batch {
'error_message' => t('An error occurred'),
'progress_message' => t('Processing @current out of @total link types.'),
'operations' => array(),
'finished' => __CLASS__ . '::finishBatch',
'finished' => [__CLASS__ , 'finishBatch'], // __CLASS__ . '::finishBatch' not working possibly due to a drush error.
);
$config = \Drupal::config('simple_sitemap.settings')->get('settings');
$this->batchInfo = array(
......
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