|
|
@ -463,7 +463,7 @@ function islandora_ingest_form_undo_consecutive_callback_steps(array $form, arra |
|
|
|
function islandora_ingest_form_undo_callback_step(array $form, array &$form_state, array $step) { |
|
|
|
function islandora_ingest_form_undo_callback_step(array $form, array &$form_state, array $step) { |
|
|
|
$args = array(&$form_state); |
|
|
|
$args = array(&$form_state); |
|
|
|
$args = isset($step['undo_function']['args']) ? array_merge($args, $step['undo_function']['args']) : $args; |
|
|
|
$args = isset($step['undo_function']['args']) ? array_merge($args, $step['undo_function']['args']) : $args; |
|
|
|
if (isset($step['undo_function']['file'])) { |
|
|
|
if (isset($step['undo_function']['file'])) { |
|
|
|
require_once drupal_get_path('module', $step['module']) . "/" . $step['undo_function']['file']; |
|
|
|
require_once drupal_get_path('module', $step['module']) . "/" . $step['undo_function']['file']; |
|
|
|
} |
|
|
|
} |
|
|
|
call_user_func_array($step['undo_function']['function'], $args); |
|
|
|
call_user_func_array($step['undo_function']['function'], $args); |
|
|
|