API calls should no longer be throwing PEAR_Errors in H4
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 17 Dec 2010 20:06:12 +0000 (13:06 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 17 Dec 2010 20:06:12 +0000 (13:06 -0700)
framework/Core/lib/Horde/Registry.php

index a5d31da..b119f5c 100644 (file)
@@ -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;
         }