Browse Source

Merge pull request #639 from rosiel/7.x-ISLANDORA-1362

ISLANDORA-1362 Put config variable in admin form.
pull/641/head
Nick Ruest 9 years ago
parent
commit
2fcab78e45
  1. 6
      includes/admin.form.inc
  2. 1
      islandora.install

6
includes/admin.form.inc

@ -103,6 +103,12 @@ function islandora_repository_admin(array $form, array &$form_state) {
'#description' => t('Sparql is the preferred language for querying the resource index; however, some features in the implementation of Sparql in Mulgara may not work properly. If you are using the default triple store with Fedora this should be left on to maintain legacy behaviour.'), '#description' => t('Sparql is the preferred language for querying the resource index; however, some features in the implementation of Sparql in Mulgara may not work properly. If you are using the default triple store with Fedora this should be left on to maintain legacy behaviour.'),
'#default_value' => variable_get('islandora_risearch_use_itql_when_necessary', TRUE), '#default_value' => variable_get('islandora_risearch_use_itql_when_necessary', TRUE),
), ),
'islandora_require_obj_upload' => array(
'#type' => 'checkbox',
'#title' => t('Require a file upload during ingest'),
'#description' => t('During the ingest workflow, make the OBJ file upload step mandatory.'),
'#default_value' => variable_get('islandora_require_obj_upload', TRUE),
),
), ),
'islandora_namespace' => array( 'islandora_namespace' => array(
'#type' => 'fieldset', '#type' => 'fieldset',

1
islandora.install

@ -57,6 +57,7 @@ function islandora_uninstall() {
'islandora_risearch_use_itql_when_necessary', 'islandora_risearch_use_itql_when_necessary',
'islandora_use_object_semaphores', 'islandora_use_object_semaphores',
'islandora_semaphore_period', 'islandora_semaphore_period',
'islandora_require_obj_upload',
); );
array_walk($variables, 'variable_del'); array_walk($variables, 'variable_del');
} }

Loading…
Cancel
Save