Skip to content
Snippets Groups Projects
Commit 2f028895 authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

Ajout paramtre verbose

parent 2d0a323c
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ require_once (DOL_DOCUMENT_ROOT."/telephonie/communication.class.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."/societe.class.php");
require_once (DOL_DOCUMENT_ROOT."/lib/dolibarrmail.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); $user = new User($db, 1);
...@@ -58,7 +58,7 @@ if ($db->query($sql)) ...@@ -58,7 +58,7 @@ if ($db->query($sql))
$n = sizeof($row); $n = sizeof($row);
dolibarr_syslog($n . " lignes traiter"); if ($verbose) dolibarr_syslog($n . " lignes traiter");
for ($i = 0 ; $i < $n ; $i++) for ($i = 0 ; $i < $n ; $i++)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment