Browse Source

Add warning to report page

pull/697/head
Brandon Weigel 7 years ago
parent
commit
34ff60a0a8
  1. 2
      includes/orphaned_objects.inc

2
includes/orphaned_objects.inc

@ -49,6 +49,8 @@ function islandora_orphaned_objects_manage_form($form, $form_state) {
); );
} }
else { else {
drupal_set_message(t('Some objects may intentionally have no parents. If deleting objects, please be
absolutely sure that these objects are no longer required.'), 'warning');
$orphaned_objects = islandora_get_orphaned_objects(); $orphaned_objects = islandora_get_orphaned_objects();
$rows = array(); $rows = array();
foreach ($orphaned_objects as $orphaned_object) { foreach ($orphaned_objects as $orphaned_object) {

Loading…
Cancel
Save