From: Michael M Slusarz Date: Fri, 17 Dec 2010 20:06:12 +0000 (-0700) Subject: API calls should no longer be throwing PEAR_Errors in H4 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d48f5b4547eddd1f2014c715b1d70d7dd5303922;p=horde.git API calls should no longer be throwing PEAR_Errors in H4 --- diff --git a/framework/Core/lib/Horde/Registry.php b/framework/Core/lib/Horde/Registry.php index a5d31da1e..b119f5c7f 100644 --- a/framework/Core/lib/Horde/Registry.php +++ b/framework/Core/lib/Horde/Registry.php @@ -895,9 +895,6 @@ class Horde_Registry try { $result = call_user_func_array(array($api, $call), $args); - if ($result instanceof PEAR_Error) { - throw new Horde_Exception_Prior($result); - } } catch (Horde_Exception $e) { $result = $e; }