]> 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)
committerMason James <mtj@kohaaloha.com>
Sat, 25 Jul 2015 10:13:06 +0000 (22:13 +1200)
commit81b8ce4fdda2340c9a95f9fe40a290d473840c0f
treee3acef8eea2b8be5746319bb1fdfa29ae81d47dc
parent140d3fb95543c42c0cf630e2084038ebb25e5929
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: Mason James <mtj@kohaaloha.com>
C4/Charset.pm