Skip to content

Commit

Permalink
Change drush command
Browse files Browse the repository at this point in the history
Was accidentally implementing hook_process, so this was causing the
drush command to loop infinitely.
  • Loading branch information
Matthieu Hughes committed Sep 26, 2019
1 parent 23337d5 commit 4d87294
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions islandora_xquery.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/
function islandora_xquery_drush_command() {
$commands = array();
$commands['islandora_xquery_batch_process'] = array(
$commands['islandora_xquery_batch_process_command'] = array(
'description' => dt('Process an Islandora XQuery batch set.'),
'options' => array(
'batch_id' => array(
Expand All @@ -26,7 +26,7 @@ function islandora_xquery_drush_command() {
/**
* Command callback for processing XQuery batches.
*/
function drush_islandora_xquery_batch_process() {
function drush_islandora_xquery_batch_process_command() {
module_load_include('inc', 'islandora_xquery', 'includes/apply');

// @XXX: Standard logged-in-user paranoia.
Expand Down

0 comments on commit 4d87294

Please sign in to comment.