diff --git a/includes/admin.form.inc b/includes/admin.form.inc index 18b9bb4e..19c4544e 100644 --- a/includes/admin.form.inc +++ b/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.'), '#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( '#type' => 'fieldset', diff --git a/islandora.install b/islandora.install index e1dc340d..fe04c0e2 100644 --- a/islandora.install +++ b/islandora.install @@ -57,6 +57,7 @@ function islandora_uninstall() { 'islandora_risearch_use_itql_when_necessary', 'islandora_use_object_semaphores', 'islandora_semaphore_period', + 'islandora_require_obj_upload', ); array_walk($variables, 'variable_del'); }