13 May
2019
13 May
'19
2:32 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20817 --- Comment #12 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Devinim from comment #10)
We were not reach any rule for coding guidelines for that situation. Do we need to write a new module if a sub will be used in different code? What should be the exact amount of usage to move subs in a module? 2,3,4
Hi, you are not supposed to c/p code. If you want to reuse bad code (in .pl and not tested), you will need to move it to a pm, try to provide tests, then reuse it. -- You are receiving this mail because: You are watching all bug changes.