Bug 40132: Remove POD for get_opac_news_by_id

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 <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Marcel de Rooy 2025-06-12 16:09:58 +02:00 committed by Lucas Gass
parent 3216152520
commit 64b78fe3c4
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 0 additions and 9 deletions

View File

@ -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 <oleonard@myacpl.org>