Bug 15779

Summary: Remove unnecessary parts of C4::Koha
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Architecture, internals, and plumbingAssignee: Jonathan Druart <jonathan.druart>
Status: RESOLVED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: veron
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 5404, 15769, 15783, 15796, 15798, 15799, 15801, 17099, 17627, 17835, 17843, 17844, 17845, 17847    
Bug Blocks: 15449    

Description Jonathan Druart 2016-02-10 09:57:34 UTC
Some subroutines of C4::Koha has been put there because of a lack of other good places or of anticipation.
It is used as a catch-all module and a lot of its subroutines can be moved somewhere else.
Comment 1 Jonathan Druart 2016-11-15 10:17:09 UTC
Bug 15799 - Move authorised values related code into Koha::AuthorisedValues - part 2

Bug 15801 - Move the framework related code to Koha::BiblioFramework[s] - part 2

Bug 17099 - GetSupportName and GetSupportList from C4/Koha.pm are no longer used

Bug 5404 - C4::Koha::subfield_is_koha_internal_p no longer serves a purpose

Bug 15769 - C4::Koha::slashifyDate is outdated

Bug 15783 - C4::Koha::AddAuthorisedValue can be replaced with Koha::AuthorisedValue->new->store

Bug 15796 - C4::Koha - get_itemtypeinfos_of is not used anymore

Bug 15798 - C4::Koha::displayServers is no longer in use

Bug 17627 - Move C4::Koha::GetItemTypesByCategory to Koha::ItemTypes
Comment 2 Jonathan Druart 2017-01-03 11:04:25 UTC
Bug 17835 - Move C4::Koha::GetItemTypes to Koha::ItemTypes
Comment 3 Jonathan Druart 2017-01-04 09:30:35 UTC
Bug 17843 - Move C4::Koha::getitemtypeinfo to Koha::ItemTypes
Comment 4 Jonathan Druart 2017-01-04 11:28:39 UTC
Bug 17845 - Remove printer related code (Not valid?)
Comment 5 Jonathan Druart 2017-01-04 11:38:20 UTC
Bug 17844 - Move C4::Koha::get_notforloan_label_of to Koha::AuthorisedValues
Comment 6 Jonathan Druart 2017-01-04 14:29:12 UTC
Bug 17847 - Move C4::Koha::GetAuthvalueDropbox to Koha::AuthorisedValues
Comment 7 Katrin Fischer 2023-08-28 21:13:25 UTC
All dependent bugs have been closed - yay :)