From 9715f84e1f48512c6a001e1311cceed59aae6d32 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 13 Nov 2007 10:54:27 +0000 Subject: [PATCH] Suppression du mode debug provisoire --- htdocs/conf/conf.class.php | 4 ---- htdocs/fichinter/fiche.php | 12 ------------ 2 files changed, 16 deletions(-) diff --git a/htdocs/conf/conf.class.php b/htdocs/conf/conf.class.php index 089d1031ba5..14fb78cc168 100644 --- a/htdocs/conf/conf.class.php +++ b/htdocs/conf/conf.class.php @@ -347,10 +347,6 @@ class Conf // Cryped password in database $this->password_encrypted=($this->global->DATABASE_PWD_ENCRYPTED ? 1 : 0); - - // Debug Mode - $this->use_debug_mode=0; - if (isset($this->global->MAIN_ENABLE_DEBUG_MODE)) $this->use_debug_mode=$this->global->MAIN_ENABLE_DEBUG_MODE; // System tools if (! $this->global->SYSTEMTOOLS_MYSQLDUMP) $this->global->SYSTEMTOOLS_MYSQLDUMP="mysqldump"; diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index 1d369b40c20..685aa33de2a 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -457,18 +457,6 @@ elseif ($_GET["id"] > 0) } $fichinter->fetch_client(); - // Debug mode - // TODO: créer une fonction debug générique - if ($conf->use_debug_mode) - { - $debug = '
'; - $debug.= 'Mode Debugage
'; - $debug.= 'Module intervention: lire='.yn($user->rights->ficheinter->lire).', creer='.yn($user->rights->ficheinter->creer); - $debug.= ', supprimer='.yn($user->rights->ficheinter->supprimer); - $debug.= '
'; - print $debug; - } - if ($mesg) print $mesg."
"; $head = fichinter_prepare_head($fichinter);