From 0c5f4dded675f0a3e73756235a2a23d75ba40817 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 12 Jun 2025 16:09:58 +0200 Subject: [PATCH] Bug 40132: Remove POD for get_opac_news_by_id Content-Type: text/plain; charset=utf-8 We are removing a wrong method name at the same time ;) Test plan: Read the patch. Just removing a few outdated POD lines. Signed-off-by: Marcel de Rooy --- Koha/Template/Plugin/AdditionalContents.pm | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Koha/Template/Plugin/AdditionalContents.pm b/Koha/Template/Plugin/AdditionalContents.pm index b919ecf682..bb2c5d996d 100644 --- a/Koha/Template/Plugin/AdditionalContents.pm +++ b/Koha/Template/Plugin/AdditionalContents.pm @@ -82,15 +82,6 @@ The function returns a hashref with keys: location: the passed in location param returned blocktitle: the passed in blocktitle param returned -=head2 get_opac_news_by_id - -In a template, you can get a specific news item by passing -the news id. E.g.: - -[% SET news_item = AdditionalContents.get_news_by_id( news_id => news_id ) %] - -The function returns a hashref with a Koha::AdditionalContents object in the 'contents' key - =head1 AUTHOR Owen Leonard -- 2.39.5