From 6910dd0b623056ee6a85d3a6d1cbe34a81f21e60 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 3 Apr 2010 14:39:24 +0000 Subject: [PATCH] Remove deprecated code --- htdocs/main.inc.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 7dde27f1aac..c275106cba6 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -252,7 +252,7 @@ if (sizeof($conf->need_smarty) > 0 || $conf->global->MAIN_SMARTY) if (empty($dolibarr_smarty_libs_dir)) $dolibarr_smarty_libs_dir=DOL_DOCUMENT_ROOT.'/includes/smarty/libs/'; if (empty($dolibarr_smarty_compile)) $dolibarr_smarty_compile=DOL_DATA_ROOT.'/smarty/templates/temp'; if (empty($dolibarr_smarty_cache)) $dolibarr_smarty_cache=DOL_DATA_ROOT.'/smarty/cache/temp'; - + // Create directory if not exist if (! is_dir($dolibarr_smarty_compile)) create_exdir($dolibarr_smarty_compile); if (! is_dir($dolibarr_smarty_cache)) create_exdir($dolibarr_smarty_cache); @@ -683,10 +683,6 @@ if (! defined('NOREQUIRETRAN')) $bc[0]="class=\"impair\""; $bc[1]="class=\"pair\""; -// Used only in telephony module -$yesno[0]="no"; -$yesno[1]="yes"; - // Constants used to defined number of lines in textarea if (empty($conf->browser->firefox)) {