Fix: Duplicate code

This commit is contained in:
Laurent Destailleur 2013-10-22 17:57:22 +02:00
parent ec576c91cc
commit faae93bd03

View File

@ -725,13 +725,6 @@ if (! empty($conf->dol_use_jmobile) && in_array($conf->theme,array('bureau2crea'
$conf->css = "/theme/".$conf->theme."/style.css.php";
}
// Disabled bugged themes
if (! empty($conf->dol_use_jmobile) && in_array($conf->theme,array('bureau2crea','cameleo')))
{
$conf->theme='eldy';
$conf->css = "/theme/".$conf->theme."/style.css.php";
}
if (! defined('NOREQUIRETRAN'))
{
if (! GETPOST('lang')) // If language was not forced on URL