From 0fb4a6d7b6ab6b41a8dd413efd53c541f44d40f0 Mon Sep 17 00:00:00 2001 From: willtp87 Date: Sat, 28 Jun 2014 22:36:11 +0000 Subject: [PATCH] removing deprecated function islandora_datastream_get_delete_link --- includes/datastream.inc | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/includes/datastream.inc b/includes/datastream.inc index ba2872c2..fde9ab47 100644 --- a/includes/datastream.inc +++ b/includes/datastream.inc @@ -290,24 +290,6 @@ function islandora_datastream_get_url(AbstractDatastream $datastream, $type = 'd } } -/** - * Gets the delete link. - * - * @param AbstractDatastream $datastream - * The datastream to generated the url to. - * - * @return string - * Markup containing the link to the confirm form to delete the datastream. - */ -function islandora_datastream_get_delete_link(AbstractDatastream $datastream) { - $message = islandora_deprecated('7.x-1.2', 'Use the "islandora_datastream_delete_link" theme implementation.'); - trigger_error(filter_xss($message), E_USER_DEPRECATED); - - return theme('islandora_datastream_delete_link', array( - 'datastream' => $datastream, - )); -} - /** * Gets the edit link. *