Bug 23632

Summary: Remove C4::Logs::GetLogs
Product: Koha Reporter: Josef Moravec <josef.moravec>
Component: Architecture, internals, and plumbingAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: aleisha, jonathan.druart, lucas, martin.renvoize
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:
20.11.00, 20.05.04
Circulation function:
Bug Depends on: 22363    
Bug Blocks:    
Attachments: Bug 23632: Remove C4::Logs::GetLogs
Bug 23632: Remove C4::Logs::GetLogs
Bug 23632: Remove C4::Logs::GetLogs

Description Josef Moravec 2019-09-18 05:16:00 UTC
GetLogs is not used anymore and should be removed
Comment 1 Jonathan Druart 2020-08-06 09:30:15 UTC
Created attachment 107871 [details] [review]
Bug 23632: Remove C4::Logs::GetLogs

Koha::ActionLogs->search must be used instead.
There is no call to this subroutine in our code, it should be removed.

Test plan:
Make sure the 3 test files still return green and that there is no more
occurrences of GetLogs in the codebase.
Comment 2 Josef Moravec 2020-08-06 19:07:32 UTC
Created attachment 107914 [details] [review]
Bug 23632: Remove C4::Logs::GetLogs

Koha::ActionLogs->search must be used instead.
There is no call to this subroutine in our code, it should be removed.

Test plan:
Make sure the 3 test files still return green and that there is no more
occurrences of GetLogs in the codebase.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 3 Martin Renvoize (ashimema) 2020-08-13 14:06:03 UTC
Created attachment 108189 [details] [review]
Bug 23632: Remove C4::Logs::GetLogs

Koha::ActionLogs->search must be used instead.
There is no call to this subroutine in our code, it should be removed.

Test plan:
Make sure the 3 test files still return green and that there is no more
occurrences of GetLogs in the codebase.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 4 Martin Renvoize (ashimema) 2020-08-13 14:06:41 UTC
No brainer, no regressions found and passes QA scripts..

Passing QA
Comment 5 Jonathan Druart 2020-08-18 15:46:11 UTC
Pushed to master for 20.11, thanks to everybody involved!
Comment 6 Lucas Gass (lukeg) 2020-09-04 14:44:21 UTC
backported to 20.05.x for 20.05.04
Comment 7 Aleisha Amohia 2020-09-09 05:00:16 UTC
enhancement, not backported to 19.11.x