From 7260411885046b8e796bd8848af2407efa4683aa Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 9 Sep 2010 00:18:41 +0200 Subject: [PATCH] Since we always log now if we call a hook, there's no point anymore in logging when we don't. This was confusing a lot of people anyway. --- framework/Core/lib/Horde.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/framework/Core/lib/Horde.php b/framework/Core/lib/Horde.php index a6870cc46..0dcea8695 100644 --- a/framework/Core/lib/Horde.php +++ b/framework/Core/lib/Horde.php @@ -1693,9 +1693,7 @@ HTML; } if ($error) { - $error = sprintf('Hook %s in application %s not called.', $hook, $app); - self::logMessage($error, 'DEBUG'); - throw new Horde_Exception_HookNotSet($error); + throw new Horde_Exception_HookNotSet(); } try { -- 2.11.0