Browse Source

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 <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
3.10.x
Jared Camins-Esakov 12 years ago
committed by Paul Poulain
parent
commit
eefeef0c1f
  1. 2
      C4/Languages.pm

2
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;
}

Loading…
Cancel
Save