function simple_sitemap_update_8302 in Simple XML sitemap 8.3
Same name and namespace in other branches
- 4.x simple_sitemap.install \simple_sitemap_update_8302()
Removing unused batch_process_limit key from simple_sitemap.settings configuration.
File
- ./
simple_sitemap.install, line 727 - Module install and update procedures.
Code
function simple_sitemap_update_8302() {
$settings = \Drupal::service('config.factory')
->getEditable('simple_sitemap.settings');
if (NULL !== $settings
->get('batch_process_limit')) {
$settings
->clear('batch_process_limit');
$settings
->save();
}
}