Bugzilla – Attachment 183205 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.26 KB, created by
Marcel de Rooy
on 2025-06-12 14:12:42 UTC
(
hide
)
Description:
Bug 40132: Remove POD for get_opac_news_by_id
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2025-06-12 14:12:42 UTC
Size:
1.26 KB
patch
obsolete
>From 0c5f4dded675f0a3e73756235a2a23d75ba40817 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 >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 <m.de.rooy@rijksmuseum.nl> >--- > 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 <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