Bug 21299: Add localReferer function to Util module, add test
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 30 Jul 2018 10:18:31 +0000 (12:18 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 7 Nov 2018 21:52:17 +0000 (21:52 +0000)
commitdb539f4dc0b5f7ceb0726c97c95310d5b853de15
treef5c3c60a593f397564efec32a449562c0fa89357
parentdc43a4b4b3d7cb622bb5c91a25dabf4c5e2ccbdb
Bug 21299: Add localReferer function to Util module, add test

Before implementing the change in [opac-]changelanguage, we define a new
function (in Koha/Util.pm) and add tests.

Test plan:
Run t/Koha/Util/localReferer.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Util.pm [new file with mode: 0644]
t/Koha/Util/localReferer.t [new file with mode: 0644]