remove last traces of cached i18n
This commit is contained in:
parent
c3b3706e19
commit
b4603d2e5e
1 changed files with 0 additions and 16 deletions
|
|
@ -65,22 +65,6 @@ use Apache2::ServerUtil ();
|
|||
use APR::Request::Apache2 ();
|
||||
use Apache2::Cookie ();
|
||||
|
||||
|
||||
#----------------------------------------
|
||||
# Precache i18n
|
||||
#----------------------------------------
|
||||
opendir(DIR,$webguiRoot."/lib/WebGUI/i18n/English");
|
||||
my @files = readdir(DIR);
|
||||
closedir(DIR);
|
||||
foreach my $file (@files) {
|
||||
if ($file =~ /^(\w+)\.pm$/) {
|
||||
my $namespace = $1;
|
||||
my $cmd = "\$WebGUI::i18n::English::".$namespace."::I18N";
|
||||
my $data = eval($cmd);
|
||||
$WebGUI::International::i18nCache{English}{$namespace} = $data;
|
||||
}
|
||||
}
|
||||
|
||||
#----------------------------------------
|
||||
# Preload all site configs.
|
||||
#----------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue