From a76447c12e8b74f920512eb548c9055b38fce416 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 13 Mar 2012 20:06:38 +0100 Subject: [PATCH] Fix: remove external module class --- htdocs/comm/fiche.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 43cc72d58d9..13b401da34d 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -37,7 +37,6 @@ if ($conf->commande->enabled) require_once(DOL_DOCUMENT_ROOT."/commande/class/co if ($conf->contrat->enabled) require_once(DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php"); if ($conf->adherent->enabled) require_once(DOL_DOCUMENT_ROOT."/adherents/class/adherent.class.php"); if ($conf->ficheinter->enabled) require_once(DOL_DOCUMENT_ROOT."/fichinter/class/fichinter.class.php"); -if (!empty($conf->global->MAIN_MODULE_CHRONODOCS)) require_once(DOL_DOCUMENT_ROOT."/chronodocs/chronodocs_entries.class.php"); $langs->load("companies"); if ($conf->contrat->enabled) $langs->load("contracts"); @@ -46,7 +45,6 @@ if ($conf->facture->enabled) $langs->load("bills"); if ($conf->projet->enabled) $langs->load("projects"); if ($conf->ficheinter->enabled) $langs->load("interventions"); if ($conf->notification->enabled) $langs->load("mails"); -if (!empty($conf->global->MAIN_MODULE_CHRONODOCS)) $langs->load("chronodocs"); // Security check $id = (GETPOST('socid','int') ? GETPOST('socid','int') : GETPOST('id','int'));