From 3c2cc26ab75d0179a05b6f52715be50bf2f9e2ed Mon Sep 17 00:00:00 2001 From: Brandon Weigel Date: Mon, 5 Mar 2018 18:31:41 +0000 Subject: [PATCH] Remove unnecessary code --- includes/orphaned_objects.inc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/includes/orphaned_objects.inc b/includes/orphaned_objects.inc index f651f4f2..40964f8b 100644 --- a/includes/orphaned_objects.inc +++ b/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']),