Bug 25695: merge of similar code blocks after circulation_rules update
authorSlava Shishkin <slavashishkin@gmail.com>
Thu, 18 Jun 2020 09:11:29 +0000 (12:11 +0300)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 24 Jul 2020 20:14:29 +0000 (20:14 +0000)
commit28558bcee7a417595d0c56fbe5fc106e077615c9
treec54ea80fac82497759a5f96b191140fb4e25ae9b
parent7b947f695bcfd9cb89952bcd1027701ef74bc3dc
Bug 25695: merge of similar code blocks after circulation_rules update

In onboarding.pl we have second block with adding just one more
rule parameter (maxissueqty) which can be merged to first one
after all parameters now stored in circulation_rules table.

Also this eliminates the need of adding forgotten "warn $@" after
the second eval block.

Mentored-by: Andrew Nugged <nugged@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 5c581265abff940350df83a52228085aa0792fe0)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
installer/onboarding.pl