Since we always log now if we call a hook, there's no point anymore in
authorJan Schneider <jan@wg.de>
Wed, 8 Sep 2010 22:18:41 +0000 (00:18 +0200)
committerJan Schneider <jan@horde.org>
Thu, 9 Sep 2010 14:53:31 +0000 (16:53 +0200)
logging when we don't. This was confusing a lot of people anyway.

framework/Core/lib/Horde.php

index a6870cc..0dcea86 100644 (file)
@@ -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 {