]> 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)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 8 Jun 2015 20:27:30 +0000 (08:27 +1200)
commit64063984955bd002168166d162577ee2ace203c3
tree2d45fd8e83f2c10fb0a1ab19821657e27f60ba7e
parent605b99470c9a29cf6f4c2d37513d29d5c4303d48
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>
C4/Charset.pm