Browse Source

Remove dupe islandora/ingest menu item

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

18
islandora.module

@ -80,11 +80,12 @@ function islandora_menu() {
);
$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