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

--- Comment #22 from Joonas Kylmälä <[email protected]> ---
(In reply to Jonathan Druart from comment #17)
> 1.
> -use Koha::AuthorisedValueCategories;
> -use Koha::AuthorisedValues;
> +use Koha::AuthorisedValueCategory;
> +use Koha::AuthorisedValue;
> 
> Joonas, Aleisha was correct. We load the plurals modules, which will load
> the singulars.

Oh, I didn't know this was the preferred way, we could add it maybe to the
coding guidelines? To me it seemed more logical to always import directly the
modules we are using and not trust that the other module will do it.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
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/

Reply via email to