Browse Source

removed reference to DRUPAL_ROOT

pull/415/head
Alan Stanley 11 years ago
parent
commit
51de8b1cab
  1. 4
      includes/ingest.form.inc

4
includes/ingest.form.inc

@ -423,7 +423,7 @@ function islandora_ingest_form_execute_callback_step(array $form, array &$form_s
$args = array(&$form_state);
$args = isset($step['do_function']['args']) ? array_merge($args, $step['do_function']['args']) : $args;
if (isset($step['do_function']['file'])) {
require_once DRUPAL_ROOT . '/' . drupal_get_path('module', $step['module']) . "/" . $step['do_function']['file'];
require_once drupal_get_path('module', $step['module']) . "/" . $step['do_function']['file'];
}
call_user_func_array($step['do_function']['function'], $args);
}
@ -464,7 +464,7 @@ function islandora_ingest_form_undo_callback_step(array $form, array &$form_stat
$args = array(&$form_state);
$args = isset($step['undo_function']['args']) ? array_merge($args, $step['undo_function']['args']) : $args;
if (isset($step['undo_function']['file'])) {
require_once DRUPAL_ROOT . '/' . 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);
}

Loading…
Cancel
Save