]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 16 Mar 2020 11:00:21 +0000 (11:00 +0000)
commit619d6362ce895ba4da543dcd809b162ed7a9b6b5
tree9831c93537b05cef2c8b55819228634c0fc74e55
parent3b47f87b0ff5c020300108ef4fd8e4145bfccd13
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>
C4/Auth.pm
opac/sco/printslip.pl
opac/sco/sco-main.pl
opac/sco/sco-patron-image.pl
t/Auth.t