]> git.koha-community.org Git - koha.git/commit
Bug 8997: Unnecessary call to getAllLanguages
authorPaul Poulain <paul.poulain@biblibre.com>
Wed, 31 Oct 2012 17:22:14 +0000 (18:22 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Tue, 20 Nov 2012 12:19:55 +0000 (07:19 -0500)
commite2cf59ac581fad905ee30c3abe00784a7521f1ee
tree38350a649c3277e4e84fd26257c8a01c48257185
parent90ddc20c074e05c416d2acb02c6a92d11e5cd3ce
Bug 8997: Unnecessary call to getAllLanguages

In C4/Language, getTranslatedLanguages calls getAllLanguage, passes it
to _build_languages_arrayref, that does nothing of it. Removing this
dead code will clean & reduce SQL overhead

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
I tried switching between languages and enabling and disabling
languages, and could not see any change with the patch applied.

Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Languages.pm