Browse Source

cleanup my solution pack code

pull/81/head
Ben Woodhead 13 years ago
parent
commit
bac9026c93
  1. 11
      fedora_repository.newsp.inc
  2. 10
      formClass.inc

11
fedora_repository.newsp.inc

@ -1,11 +0,0 @@
<?php
function fedora_repository_newsp_page()
{
$solution_packs = array();
$enabled_solution_packs = module_invoke_all('setup_defaults', $solution_packs);
var_dump($solution_packs);
var_dump($enabled_solution_packs);
}
?>

10
formClass.inc

@ -48,16 +48,6 @@ class formClass {
'file' => 'fedora_repository.solutionpacks.inc', 'file' => 'fedora_repository.solutionpacks.inc',
'type' => MENU_LOCAL_TASK, 'type' => MENU_LOCAL_TASK,
); );
$items['admin/settings/fedora_repository/newsp'] = array(
'title' => t('New Solution Packs'),
'description' => t('Install content models and collections required by installed solution packs.'),
'page callback' => 'fedora_repository_newsp_page',
'access arguments' => array('add fedora datastreams'),
'file' => 'fedora_repository.newsp.inc',
'type' => MENU_LOCAL_TASK,
);
$items['islandoracm.xsd'] = array( $items['islandoracm.xsd'] = array(
'title' => t('Islandora Content Model XML Schema Definition'), 'title' => t('Islandora Content Model XML Schema Definition'),
'page callback' => 'fedora_repository_display_schema', 'page callback' => 'fedora_repository_display_schema',

Loading…
Cancel
Save