Bugzilla – Attachment 184658 Details for
Bug 40132
Remove some POD from Koha/Template/Plugin/AdditionalContents.pm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40132: Remove POD for get_opac_news_by_id
Bug-40132-Remove-POD-for-getopacnewsbyid.patch (text/plain), 1.28 KB, created by
Lucas Gass (lukeg)
on 2025-07-25 17:20:47 UTC
(
hide
)
Description:
Bug 40132: Remove POD for get_opac_news_by_id
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-07-25 17:20:47 UTC
Size:
1.28 KB
patch
obsolete
>From 7cfb7ad639edff4ab0f3d1519c15e12aec8bcb0d Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 12 Jun 2025 16:09:58 +0200 >Subject: [PATCH] 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> >--- > 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 b919ecf682f..bb2c5d996d2 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 <oleonard@myacpl.org> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40132
:
183205
| 184658