From: Jan Schneider Date: Wed, 8 Sep 2010 22:18:41 +0000 (+0200) Subject: Since we always log now if we call a hook, there's no point anymore in X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7260411885046b8e796bd8848af2407efa4683aa;p=horde.git 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. --- 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 {