Browse Source

a little more cleanup

pull/709/head
ajstanley 7 years ago
parent
commit
a89d7a6f5b
  1. 4
      includes/derivatives.inc

4
includes/derivatives.inc

@ -159,14 +159,12 @@ function islandora_derivative_logging(array $logging_results) {
$message_status = 'warning'; $message_status = 'warning';
} }
drupal_set_message(l($result_message, 'islandora/event-status'), $message_status, FALSE); drupal_set_message(l($result_message, 'islandora/event-status'), $message_status, FALSE);
if (isset($_SESSION['messages']['warning'])) { if (isset($_SESSION['messages']['warning']) && isset($_SESSION['messages']['status'])) {
if (isset($_SESSION['messages']['status'])) {
unset($_SESSION['messages']['status']); unset($_SESSION['messages']['status']);
} }
} }
} }
} }
}
/** /**
* Kicks off derivative functions based upon hooks and conditions. * Kicks off derivative functions based upon hooks and conditions.

Loading…
Cancel
Save