Bug 16077

Summary: Remove unused script and template card-print
Product: Koha Reporter: Owen Leonard <oleonard>
Component: ToolsAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: brendan, cnighswonger, jonathan.druart, julian.maurice, veron
Version: Main   
Hardware: All   
OS: All   
URL: /cgi-bin/koha/patroncards/card-print.pl
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on:    
Bug Blocks: 16078    
Attachments: Bug 16077 - Remove unused script and template card-print
Bug 16077 - Remove unused script and template card-print
Bug 16077 - Remove unused script and template card-print

Description Owen Leonard 2016-03-15 13:57:56 UTC
I can find no place where "card-print.pl" is referred to anywhere in Koha.

"card-print.tt" is only referenced by card-print.pl.

I think both can be removed.
Comment 1 Owen Leonard 2016-03-15 14:04:05 UTC Comment hidden (obsolete)
Comment 2 Marc Véron 2016-03-15 15:26:29 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2016-03-16 09:08:39 UTC
Created attachment 49202 [details] [review]
Bug 16077 - Remove unused script and template card-print

I can find no reference to card-print.pl being used in Koha. This patch
deletes it and its associated template.

To test, apply the patch and search for references to "card-print" in
Koha. There should be none.

Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This script does not work, it fails with 'Undefined subroutine
get_label_output_formats'. This subroutine was in C4::Labels::Lib which
has been removed by 2433a91 (Feb 8 2010): Removing depricated file from the
C4::Labels module.
Comment 4 Jonathan Druart 2016-03-16 09:09:18 UTC
Good catch Owen!
Comment 5 Brendan Gallagher 2016-03-22 00:44:04 UTC
Pushed to Master - Should be in the May 2016 release.  Thanks!