[Koha-bugs] [Bug 12017] Move language description out of database

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 29 10:08:51 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12017

Julian FIOL <julian.fiol at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39313|0                           |1
        is obsolete|                            |

--- Comment #82 from Julian FIOL <julian.fiol at biblibre.com> ---
Created attachment 39664
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39664&action=edit
Bug 12017 - 10 - Remove description from getLanguage

This patch rewrites getLanguage function.
This function is of not much use, but is
rewrited to takes its data from language_rfc4646_to_iso639
table.

To test:
1. Apply the patch
2. Only place that use this function is t/db_dependent/Languages.t
so run the test and check that it pass
3. To compare the output pre and post patch you can run
perl -e 'use C4::Languages; use Data::Dumper; $a = getLanguages(); print Dumper
$a;'

Signed-off-by: Julian FIOL <julian.fiol at biblibre.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list