[Koha-bugs] [Bug 8997] Dead code in C4/Language causing useless SQL queries

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 2 13:26:08 CET 2012


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

Jared Camins-Esakov <jcamins at cpbibliography.com> changed:

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

--- Comment #3 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 13209
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13209&action=edit
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 at cpbibliography.com>
I tried switching between languages and enabling and disabling
languages, and could not see any change with the patch applied.

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


More information about the Koha-bugs mailing list