Bug 29844: Simplify Koha::Clubs->get_enrollable
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 3 Feb 2022 13:54:25 +0000 (10:54 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 10 Feb 2022 01:36:23 +0000 (15:36 -1000)
commitdb0ebb3ab54748058ad5606a8845cef506c99c60
tree6ee6e6c240af751bd9c0a7f4ed25c36e17ede7a4
parent0bec03e861bd242b6188025ae11b16bd080e0ea4
Bug 29844: Simplify Koha::Clubs->get_enrollable

This patch removes the wantarray use in Koha::Clubs->get_enrollable and
adjusts the callers.

Also, reference to some unused params in Koha::Patron clubs-related
methods are removed as well.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Clubs.pm
Koha/Patron.pm
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt