From 4561574206eb950540eb3dd9cd7e3026095d2510 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Jun 2009 21:45:29 +0000 Subject: [PATCH] Add a TODO --- htdocs/core/conf.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/conf.class.php b/htdocs/core/conf.class.php index 4a82b5a59d2..e3b792e5e43 100644 --- a/htdocs/core/conf.class.php +++ b/htdocs/core/conf.class.php @@ -173,7 +173,7 @@ class Conf if (! empty($this->global->MAIN_MODULE_MULTICOMPANY) && ! empty($this->entity) && $this->entity > 1) $rootfordata.='/'.$this->entity; // For backward compatibility - // TODO Remove params this->xxx->enabled. Must be replaced by conf->global->MAIN_MODULE_XXX + // TODO Replace this->xxx->enabled by this->modulename->enabled to remove this code $this->comptaexpert->enabled=defined("MAIN_MODULE_COMPTABILITE_EXPERT")?MAIN_MODULE_COMPTABILITE_EXPERT:0; $this->compta->enabled=defined("MAIN_MODULE_COMPTABILITE")?MAIN_MODULE_COMPTABILITE:0; $this->webcal->enabled=defined('MAIN_MODULE_WEBCALENDAR')?MAIN_MODULE_WEBCALENDAR:0;