projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3df891
)
Revert "API calls should no longer be throwing PEAR_Errors in H4"
author
Jan Schneider
<jan@horde.org>
Tue, 28 Dec 2010 11:55:04 +0000
(12:55 +0100)
committer
Jan Schneider
<jan@horde.org>
Tue, 28 Dec 2010 11:55:04 +0000
(12:55 +0100)
This reverts commit
d48f5b4547eddd1f2014c715b1d70d7dd5303922
.
The actually do, until someone goes through all Api.php files and fixes that.
framework/Core/lib/Horde/Registry.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Registry.php
b/framework/Core/lib/Horde/Registry.php
index
5b34556
..
3ce295d
100644
(file)
--- a/
framework/Core/lib/Horde/Registry.php
+++ b/
framework/Core/lib/Horde/Registry.php
@@
-959,6
+959,9
@@
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;
}