Bug 20310: (follow-up) Move syspref check into controller
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 28 Jun 2021 13:07:53 +0000 (14:07 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Jul 2021 13:47:34 +0000 (15:47 +0200)
commit472538b17d99a044994de2baca8f68544c45000b
treeadd502b95e180745e751ba78c17fea70fa398711
parentcc316db0b1c35594e81a93daec0d16fcc2aee2cb
Bug 20310: (follow-up) Move syspref check into controller

I believe the syspref check is better placed in the controller. This way
the host_record method is not so closely tied to the articel requests
feature and may subsequently prove useful to future use cases.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Biblio.pm
opac/opac-request-article.pl
t/db_dependent/Koha/Biblio/host_record.t