From d48f5b4547eddd1f2014c715b1d70d7dd5303922 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 17 Dec 2010 13:06:12 -0700 Subject: [PATCH] API calls should no longer be throwing PEAR_Errors in H4 --- framework/Core/lib/Horde/Registry.php | 3 --- 1 file changed, 3 deletions(-) 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; } -- 2.11.0