From 9cd4d949c3a97ea70bb4073bae8e097a64049b3d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@users.sourceforge.net> Date: Sat, 20 Feb 2010 13:15:28 +0000 Subject: [PATCH] Fix: Removed deprecated function --- htdocs/translate.class.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/htdocs/translate.class.php b/htdocs/translate.class.php index b9881812b7b..103f9bde0f7 100644 --- a/htdocs/translate.class.php +++ b/htdocs/translate.class.php @@ -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); } } -- GitLab