diff --git a/islandora.module b/islandora.module index 4f139e95..2601047b 100644 --- a/islandora.module +++ b/islandora.module @@ -78,13 +78,14 @@ function islandora_menu() { 'type' => MENU_CALLBACK, 'access arguments' => array(FEDORA_VIEW), ); - + $items['islandora/ingest/%'] = array( - 'title' => 'Ingest object', - 'page callback' => 'islandora_ingest_object', + 'title' => t('Ingest object'), + 'page callback' => 'islandora_ingest_callback', 'page arguments' => array(2), - 'type' => MENU_NORMAL_ITEM, - 'access arguments' => array(FEDORA_INGEST) + 'file' => 'includes/ingest-menu.inc', + 'type' => MENU_CALLBACK, + 'access arguments' => array(FEDORA_INGEST), ); $items['islandora/object/%'] = array( @@ -165,15 +166,6 @@ function islandora_menu() { 'access arguments' => array(FEDORA_PURGE), ); - $items['islandora/ingest/%'] = array( - 'title' => t('Ingest object'), - 'page callback' => 'islandora_ingest_callback', - 'page arguments' => array(2), - 'file' => 'includes/ingest-menu.inc', - 'type' => MENU_CALLBACK, - 'access arguments' => array(FEDORA_INGEST) - ); - return $items; }