projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
daadc5b
)
use Memoize because Memcache::Memoize is slow for me
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 24 Oct 2010 15:30:25 +0000
(17:30 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 6 Nov 2011 04:44:56 +0000
(
05:44
+0100)
C4/Languages.pm
patch
|
blob
|
history
diff --git
a/C4/Languages.pm
b/C4/Languages.pm
index
091d3bb
..
b31812e
100644
(file)
--- a/
C4/Languages.pm
+++ b/
C4/Languages.pm
@@
-42,6
+42,11
@@
eval {
}
};
+use Memoize;
+memoize('getTranslatedLanguages');
+memoize('getFrameworkLanguages');
+memoize('getAllLanguages');
+
BEGIN {
$VERSION = 3.00;
require Exporter;