Fix usage of cache on all lang files

This commit is contained in:
Laurent Destailleur 2010-06-11 00:55:15 +00:00
parent ad26792ed8
commit bb83d21a1b

View File

@ -215,11 +215,7 @@ class Translate {
$this->tab_translate=array_merge($this->tab_translate,$tmparray);
//print $newdomain."\n";
//var_dump($this->tab_translate);
if ($alt == 2)
{
$this->tab_loaded[$newdomain]=3; // Set this file as loaded from cache
$fileread=1;
}
if ($alt == 2) $fileread=1;
$found=true; // Found in dolibarr PHP cache
}
}