From 4f363f7a6dc3f574a69a9f53434377e889bbaa89 Mon Sep 17 00:00:00 2001 From: ajstanley Date: Wed, 8 May 2024 11:58:46 -0300 Subject: [PATCH] abstracted media and file deletion --- src/IslandoraUtils.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/IslandoraUtils.php b/src/IslandoraUtils.php index 0b269b9c..06783d4f 100644 --- a/src/IslandoraUtils.php +++ b/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 = [];