Browse Source

Remove unnecessary code

pull/697/head
Brandon Weigel 7 years ago
parent
commit
3c2cc26ab7
  1. 6
      includes/orphaned_objects.inc

6
includes/orphaned_objects.inc

@ -19,12 +19,6 @@
function islandora_manage_orphaned_objects_form($form, $form_state) {
if (isset($form_state['show_confirm'])) {
$pids = $form_state['pids_to_delete'];
if (count($form_state['pids_to_delete']) <= 10) {
$pid_paths = array();
foreach ($pids as $pid) {
$pid_paths[] = l($pid, '/islandora/object/' . $pid);
}
}
$form['confirm_message'] = array(
'#type' => 'item',
'#markup' => format_plural(count($form_state['pids_to_delete']),

Loading…
Cancel
Save