Browse Source

Remove dupe islandora/ingest menu item

pull/108/head
Mitchell MacKenzie 13 years ago
parent
commit
1a10f5c4a8
  1. 20
      islandora.module

20
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;
}

Loading…
Cancel
Save