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

Loading…
Cancel
Save