]> git.koha-community.org Git - koha.git/commit
Bug 16770: Remove wrong caching of 3 subroutines in C4::Lancuages
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sat, 18 Jun 2016 14:21:28 +0000 (15:21 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Tue, 16 Aug 2016 13:33:10 +0000 (15:33 +0200)
commitf852461ab0d213b3762b447c8530a2edb2bd4164
treeff5d95028424e1e00f593d5b1a374ddb5d71396c
parent3cd210a13eee03092b3975f42fd13773a2291fa6
Bug 16770: Remove wrong caching of 3 subroutines in C4::Lancuages

Looking at this code, you might think these subroutines are cached, but
actually they are not.

The eval surrounding the code hides a bug, if you remove it, you will
get:
  Invalid memcached argument (expected a hash)

Test plan:
Do not apply this patch and confirm that the code does not work

Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 44fb6e72254391d38b7a66fa395bb9874a6d716c)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 0a09cb7d09e3dabd983d137dd7f86e08525a75fa)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Languages.pm