From 51d5bff15d761588e96808d1e448c2dfdbf0a874 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= <rdoursenaud@gpcsolutions.fr>
Date: Mon, 31 Aug 2015 19:41:42 +0200
Subject: [PATCH] Fix #3442 Remove useless syslog

Not having the permission to read the box is not an error.
Furthermore, no other boxes have this behavior.
---
 htdocs/core/boxes/box_prospect.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/htdocs/core/boxes/box_prospect.php b/htdocs/core/boxes/box_prospect.php
index ec839323174..d3421049e0a 100644
--- a/htdocs/core/boxes/box_prospect.php
+++ b/htdocs/core/boxes/box_prospect.php
@@ -119,7 +119,6 @@ class box_prospect extends ModeleBoxes
 			}
 		}
 		else {
-			dol_syslog("box_prospect::loadBox not allowed de read this box content",LOG_ERR);
 			$this->info_box_contents[0][0] = array('td' => 'align="left"',
         'text' => $langs->trans("ReadPermissionNotAllowed"));
 		}
-- 
GitLab