]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 10 Apr 2020 16:36:43 +0000 (16:36 +0000)
commite4eb3a70415665e868fef2688ee9a3b56d8283e9
tree6d4feaf0a7e03220faabd4fee8c910403ff13606
parent1f80f34cee73197c13ffedb408fbe3c6c54d3758
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>
(cherry picked from commit 46b219864e3ea001d05dc69e960fd77c00c5eed6)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Auth.pm
opac/sco/printslip.pl
opac/sco/sco-main.pl
opac/sco/sco-patron-image.pl
t/Auth.t