https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20817

--- Comment #12 from Jonathan Druart <[email protected]> 
---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to