From ddd9642d829386ee3a53d8dc4df94b9fb9f669a5 Mon Sep 17 00:00:00 2001 From: willtp87 Date: Mon, 30 Jun 2014 00:32:22 +0000 Subject: [PATCH] removing deprecated function islandora_datastream_get_view_link --- includes/datastream.inc | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/includes/datastream.inc b/includes/datastream.inc index 94b819d7..42d9ed96 100644 --- a/includes/datastream.inc +++ b/includes/datastream.inc @@ -337,25 +337,6 @@ function islandora_edit_datastream_registry_render(array $edit_registry) { ); } -/** - * Get markup for a view link. - * - * @param AbstractDatastream $datastream - * The datastream for which to generate a link. - * - * @return string - * Either the link markup if the user has access or a string containing the - * datastream ID if the user is not allowed to see the given datastream. - */ -function islandora_datastream_get_view_link(AbstractDatastream $datastream) { - $message = islandora_deprecated('7.x-1.2', 'Use the "islandora_datastream_view_link" theme implementation.'); - trigger_error(filter_xss($message), E_USER_DEPRECATED); - - return theme('islandora_datastream_view_link', array( - 'datastream' => $datastream, - )); -} - /** * Set the headers for the chunking of our content. *