From 2f02889511d814acf696bd4491cb45e7ff0b6a9a Mon Sep 17 00:00:00 2001
From: Rodolphe Quiedeville <rodolphe@quiedeville.org>
Date: Thu, 24 Feb 2005 14:19:52 +0000
Subject: [PATCH] =?UTF-8?q?Ajout=20param=E8tre=20verbose?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 htdocs/telephonie/script/retour-traitement.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/htdocs/telephonie/script/retour-traitement.php b/htdocs/telephonie/script/retour-traitement.php
index ff85079487e..6136ef31523 100644
--- a/htdocs/telephonie/script/retour-traitement.php
+++ b/htdocs/telephonie/script/retour-traitement.php
@@ -30,7 +30,7 @@ require_once (DOL_DOCUMENT_ROOT."/telephonie/communication.class.php");
 require_once (DOL_DOCUMENT_ROOT."/societe.class.php");
 require_once (DOL_DOCUMENT_ROOT."/lib/dolibarrmail.class.php");
 
-dolibarr_syslog("retour-traitement");
+if ($verbose) dolibarr_syslog("retour-traitement");
 
 $user = new User($db, 1);
 
@@ -58,7 +58,7 @@ if ($db->query($sql))
 
 $n = sizeof($row);
 
-dolibarr_syslog($n . " lignes � traiter");
+if ($verbose) dolibarr_syslog($n . " lignes � traiter");
 
 for ($i = 0 ; $i < $n ; $i++)
 { 
-- 
GitLab