From eefeef0c1ff606dc15ad6105537c5e6fb8f7393d Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Sun, 20 May 2012 08:18:52 -0400 Subject: [PATCH] Bug 8089: Correct cache timeout to 1000 There was a typo in the original patch for bug 8089 which set the cache timeout on getAllLanguages to 10000. Correct it to 1000. Signed-off-by: Chris Cormack Signed-off-by: Paul Poulain --- C4/Languages.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Languages.pm b/C4/Languages.pm index 238123f9b2..415a798f6b 100644 --- a/C4/Languages.pm +++ b/C4/Languages.pm @@ -99,7 +99,7 @@ sub getFrameworkLanguages { } } if (Koha::Cache->is_cache_active() && defined $cache) { - $cache->set_in_cache("getFrameworkLanguages",\@languages,10000) + $cache->set_in_cache("getFrameworkLanguages",\@languages,1000) } return \@languages; } -- 2.39.5