]> 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)
committerLiz Rea <wizzyrea@gmail.com>
Mon, 15 Jun 2015 22:15:19 +0000 (10:15 +1200)
commit5d0e666e3655e739712b98f5073425b44ff761b2
tree2d83bc94e17ad4b412b12f399bce1d1dadf05400
parentb2a8948b989ddbdb1a4f80122eee3d499abfa6ad
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>
(cherry picked from commit 34fe5c24167f6bc27cff519d4a26c347d06341b3)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
C4/Charset.pm