Bug 7841: quell warnings in C4::Languages
authorMark Tompsett <mtompset@hotmail.com>
Thu, 15 May 2014 03:51:20 +0000 (23:51 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 19 May 2014 16:41:50 +0000 (16:41 +0000)
commitbd3cab4a9356c9ce5b1e659ff64536ce3d5ca462
tree630b71da8a81761890ef5823c823ab9936bdf4f1
parent4af38b9908d497a1699bc3abd3f597858692f7b1
Bug 7841: quell warnings in C4::Languages

This patch removes some sources of warning messages thrown by
C4::Languages, particular getTranslatedLanguages() when running
Koha's web installer.

TEST PLAN
---------
1) Apply first patch
2) prove -v t/db_dependent/Languages.t
   -- There will be uninitialized string messages, etc.
3) Apply second patch (this one)
4) prove -v t/db_dependent/Languages.t
   -- Only one carp message will remain.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Test pass, no warnings, no koha-qa errors

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Languages.pm