Browse Source

fixed log message

pull/905/head
shriram1056 2 years ago
parent
commit
e15b6322ff
  1. 4
      islandora.module

4
islandora.module

@ -444,13 +444,13 @@ function islandora_object_delete_form_submit($form, &$form_state) {
}
if ($delete_media) {
foreach ($delete_media as $media) {
foreach ($delete_media as $id => $media) {
try {
$media->delete();
$media_list .= $id . ", ";
$logger->notice('The media %label has been deleted.', [
'%label' => $media->label(),
]);
$media_list .= $id . ", ";
}
catch (Exception $e) {
$entity_protected_medias[] = $id;

Loading…
Cancel
Save