projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1214ff
)
if a hook doesn't exist, log it and return null instead of throwing an exception
author
Chuck Hagenbuch
<chuck@horde.org>
Tue, 14 Jul 2009 04:15:53 +0000
(
00:15
-0400)
committer
Chuck Hagenbuch
<chuck@horde.org>
Tue, 14 Jul 2009 04:15:53 +0000
(
00:15
-0400)
framework/Core/lib/Horde.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde.php
b/framework/Core/lib/Horde.php
index
7b25e78
..
58f3369
100644
(file)
--- a/
framework/Core/lib/Horde.php
+++ b/
framework/Core/lib/Horde.php
@@
-1807,8
+1807,8
@@
HTML;
}
if (!function_exists($hook)) {
-
throw new Horde_Exception(sprintf('Hook %s in application %s not called.', $hook, $app)
);
-
+
self::logMessage(sprintf('Hook %s in application %s not called.', $hook, $app), __FILE__, __LINE__, PEAR_LOG_DEBUG
);
+ return null;
}
try {