Bug 21978: (follow-up) Stop using C4 methods in atomicupdate
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 18 May 2022 15:34:50 +0000 (16:34 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 24 Jun 2022 15:29:19 +0000 (12:29 -0300)
commitb409b5eb8d191104bbd29a93f2bcace9725ebd02
treee8a1c00ed1967cd314f6c35fdd85210139922953
parent5a4253aa8ef7dd796c84af1c40dec0abc614cabe
Bug 21978: (follow-up) Stop using C4 methods in atomicupdate

We should really only use C4::Context methods where absolutely
necessary.. in this case is was simple to replace the get_preference and
set_preference calls with SQL

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/atomicupdate/bug_21978.pl