Browse Source

abstracted media and file deletion

pull/1017/head
ajstanley 8 months ago
parent
commit
4f363f7a6d
  1. 3
      src/IslandoraUtils.php

3
src/IslandoraUtils.php

@ -771,7 +771,7 @@ class IslandoraUtils {
/**
* Deletes Media and all associated files.
*
* @param object $media_ids
* @param object $media
* Ids of media to be deleted.
*
* @return array
@ -783,7 +783,6 @@ class IslandoraUtils {
*/
public function deleteMediaAndFiles($media) {
$results = [];
$total_count = 0;
$delete_media = [];
$delete_files = [];
$inaccessible_entities = [];

Loading…
Cancel
Save