]> git.koha-community.org Git - koha.git/commit
Bug 22943: Renames the in_ipset function to in_iprange in C4::Auth
authorHayley Mapley <hayleymapley@catalyst.net.nz>
Mon, 27 May 2019 01:57:05 +0000 (13:57 +1200)
committerJoy Nelson <joy@bywatersolutions.com>
Fri, 3 Apr 2020 17:30:15 +0000 (17:30 +0000)
commit46b219864e3ea001d05dc69e960fd77c00c5eed6
treebba32be4423da4d9e545d3a79d6dc94a020f9faf
parentf641a3d247c23328715e6e091d1e3f8b2fb3f4c6
Bug 22943: Renames the in_ipset function to in_iprange in C4::Auth

Bug 14407 introduced a new system preference to allow limiting the
online self checkout system to an IP or IP Range. The function that
handles this is called in_ipset, which is the name of a linux tool. To
stop confusion, this patch renames the function to 'in_iprange', and the
variable 'ipset' within it to 'iprange'.

To test, follow the test plans outlined in Bug 14407 and confirm that
everything works as expected.

Sponsored-by: Catalyst IT
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
C4/Auth.pm
opac/sco/printslip.pl
opac/sco/sco-main.pl
opac/sco/sco-patron-image.pl
t/Auth.t