Browse Source

removed check for islandora content model forms in collection module

pull/120/merge
Paul Pound 13 years ago
parent
commit
586843910a
  1. 2
      islandora_basic_collection/islandora_basic_collection.module

2
islandora_basic_collection/islandora_basic_collection.module

@ -65,7 +65,6 @@ function islandora_basic_collection_menu() {
* Implements hook_menu_local_tasks_alter(). * Implements hook_menu_local_tasks_alter().
*/ */
function islandora_basic_collection_menu_local_tasks_alter(&$data, $router_item, $root_path) { function islandora_basic_collection_menu_local_tasks_alter(&$data, $router_item, $root_path) {
if (module_exists('islandora_content_model_forms')) {
// Add action link // Add action link
if ($root_path == 'islandora/object/%/manage/collection') { if ($root_path == 'islandora/object/%/manage/collection') {
$object_id = $router_item['page_arguments'][0]; $object_id = $router_item['page_arguments'][0];
@ -78,7 +77,6 @@ function islandora_basic_collection_menu_local_tasks_alter(&$data, $router_item,
); );
} }
} }
}
} }
/** /**

Loading…
Cancel
Save