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)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 1 Aug 2016 08:19:58 +0000 (10:19 +0200)
commit0a09cb7d09e3dabd983d137dd7f86e08525a75fa
tree44a3859fb7230f8f20e903a968f0569900b26236
parent8dbb79564f63b92506a09f19e8300e272b04e366
Bug 16770: Remove wrong caching of 3 subroutines in C4::Lancuages

ooking 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>
C4/Languages.pm