]> git.koha-community.org Git - koha.git/commit
Bug 11790: Remove dependency C4::Context from C4::Charset
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 24 Apr 2015 15:03:09 +0000 (17:03 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 8 Jun 2015 13:36:11 +0000 (10:36 -0300)
commit34fe5c24167f6bc27cff519d4a26c347d06341b3
tree3ad9a7a5efdea88ce391409d5e94706ffa606d51
parent4fd923e12eea70b7e871f0068471ff5ef91dda01
Bug 11790: Remove dependency C4::Context from C4::Charset

C4::Context is only used to retrieve a syspref value.
This patch moves the use of C4::Context to a require.

Test plan:
Try to reach the SetMarcUnicodeFlag subroutine (batchmod, add/update a biblio, etc.)

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Tested on French UNIMARC install
No errors adding/editing biblios
No koha-qa errors

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Charset.pm