From 9689e413bf9e39364ceb1ea9443f4da73585c836 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 20 Aug 2011 17:00:34 +0000 Subject: [PATCH] Qual: More logs --- htdocs/core/class/hookmanager.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/core/class/hookmanager.class.php b/htdocs/core/class/hookmanager.class.php index 8b5300195a8..50bcd0cb39a 100755 --- a/htdocs/core/class/hookmanager.class.php +++ b/htdocs/core/class/hookmanager.class.php @@ -21,7 +21,7 @@ * \file htdocs/core/class/hookmanager.class.php * \ingroup core * \brief File of class to manage hooks - * \version $Id: hookmanager.class.php,v 1.8 2011/08/18 07:05:13 hregis Exp $ + * \version $Id: hookmanager.class.php,v 1.9 2011/08/20 17:00:34 eldy Exp $ */ @@ -130,6 +130,8 @@ class HookManager if (! is_array($this->hooks) || empty($this->hooks)) return ''; + dol_syslog(get_class($this).'::executeHooks method='.$method." action=".$action); + // Loop on each hook $resaction=0; $resprint=''; foreach($this->hooks as $hook)