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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 18 16:01:37 CEST 2015


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

Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:

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

--- Comment #96 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 40294
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40294&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