https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28836
Bug ID: 28836
Summary: Duplicated import in template plugins
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
In template plugins, we often find double importing of the parent library:
use Template::Plugin;
use base qw( Template::Plugin );
Some of the plugins use 'base' [1] like this, and others use 'parent' (that
seems to be what we should be using in this cases, as we are not ) [2].
[1] https://perldoc.perl.org/base
[2] https://perldoc.perl.org/parent#HISTORY
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/