Fix: Removed deprecated function

This commit is contained in:
Laurent Destailleur 2010-02-20 13:15:28 +00:00
parent 14b660f97d
commit 9cd4d949c3

View File

@ -123,16 +123,6 @@ class Translate {
}
/**
* Deprecated function. Do nothing.
* @deprecated Kept for backward compatibility with third party modules.
*/
function setPhpLang()
{
return;
}
/**
* \brief Load translation key-value for a particular file, into a memory array.
* If data for file already loaded, do nothing.
@ -528,7 +518,7 @@ class Translate {
if (preg_match('/^[a-z]+_[A-Z]+/i',$dir))
{
$this->load("languages");
$langs_available[$dir] = $this->trans('Language_'.$dir);
}
}