Browse Source

removed return statements

pull/386/head
Alan Stanley 11 years ago
parent
commit
73e1f87772
  1. 7
      includes/manage_deleted_objects.inc

7
includes/manage_deleted_objects.inc

@ -20,18 +20,19 @@ function islandora_deleted_objects_form($form, &$form_state) {
if (!isset($form_state['stage'])) {
$form_state['stage'] = 'get_content_models';
}
$form = array();
switch ($form_state['stage']) {
case 'get_content_models':
return islandora_delete_form_contentmodels($form, $form_state);
$form = islandora_delete_form_contentmodels($form, $form_state);
break;
case 'get_objects':
return islandora_delete_form_select_objects($form, $form_state);
$form = islandora_delete_form_select_objects($form, $form_state);
break;
}
return $form;
}
/**

Loading…
Cancel
Save