Commit f4bc6843 authored by Dave Reid's avatar Dave Reid
Browse files

by Dave Reid: Fixed undefined function drupal_get_option().

parent 591f4499
......@@ -82,6 +82,6 @@ function drush_xmlsitemap_rebuild() {
* Process un-indexed XML sitemap links.
function drush_xmlsitemap_index() {
$limit = (int) drupal_get_option('limit', variable_get('xmlsitemap_batch_limit', 100));
$limit = (int) drush_get_option('limit', variable_get('xmlsitemap_batch_limit', 100));
module_invoke_all('xmlsitemap_index_links', $limit);
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