Bugzilla – Attachment 47959 Details for
Bug 15796
C4::Koha - get_itemtypeinfos_of is not used anymore
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15796: Remove C4::Koha::get_itemtypeinfos_of
Bug-15796-Remove-C4Kohagetitemtypeinfosof.patch (text/plain), 1.37 KB, created by
Marcel de Rooy
on 2016-02-12 10:44:58 UTC
(
hide
)
Description:
Bug 15796: Remove C4::Koha::get_itemtypeinfos_of
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-02-12 10:44:58 UTC
Size:
1.37 KB
patch
obsolete
>From eaf3475fd89ab5b5f211bcb7a86da56eba3888a0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 11 Feb 2016 13:50:42 +0000 >Subject: [PATCH] Bug 15796: Remove C4::Koha::get_itemtypeinfos_of >Content-Type: text/plain; charset=utf-8 > >This subroutine is no longer in use. > >Test plan: > git grep get_itemtypeinfos_of >should not return any results. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/Koha.pm | 17 ----------------- > 1 file changed, 17 deletions(-) > >diff --git a/C4/Koha.pm b/C4/Koha.pm >index 7171f16..353708b 100644 >--- a/C4/Koha.pm >+++ b/C4/Koha.pm >@@ -45,7 +45,6 @@ BEGIN { > &GetItemTypes &getitemtypeinfo > &GetItemTypesCategorized &GetItemTypesByCategory > &GetSupportName &GetSupportList >- &get_itemtypeinfos_of > &getframeworks &getframeworkinfo > &GetFrameworksLoop > &getallthemes >@@ -339,22 +338,6 @@ sub GetItemTypesByCategory { > return @$tmp; > } > >-sub get_itemtypeinfos_of { >- my @itemtypes = @_; >- >- my $placeholders = join( ', ', map { '?' } @itemtypes ); >- my $query = <<"END_SQL"; >-SELECT itemtype, >- description, >- imageurl, >- notforloan >- FROM itemtypes >- WHERE itemtype IN ( $placeholders ) >-END_SQL >- >- return get_infos_of( $query, 'itemtype', undef, \@itemtypes ); >-} >- > =head2 getframework > > $frameworks = &getframework(); >-- >1.7.10.4
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 15796
:
47892
|
47959
|
48002