Commit 3c508676 authored by lape's avatar lape Committed by RenatoG

Issue #2329991 by lape, Fabianx, Mac_Weber, RenatoG: XML sitemap needs to...

Issue #2329991 by lape, Fabianx, Mac_Weber, RenatoG: XML sitemap needs to bootstrap to DRUPAL_BOOTSTRAP_CONFIGURATION before using variable_get in hook_drush_command()
parent eaaf1dd7
......@@ -11,6 +11,8 @@
* Implements hook_drush_command().
*/
function xmlsitemap_drush_command() {
drupal_bootstrap(DRUPAL_BOOTSTRAP_VARIABLES);
$items['xmlsitemap-regenerate'] = array(
'description' => 'Regenerate the XML sitemap files.',
'callback' => 'drush_xmlsitemap_regenerate',
......
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