projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0026099
)
MFB: Return early, if not authenticated.
author
Jan Schneider
<jan@horde.org>
Wed, 18 Nov 2009 13:24:03 +0000
(14:24 +0100)
committer
Jan Schneider
<jan@horde.org>
Wed, 18 Nov 2009 14:31:26 +0000
(15:31 +0100)
imp/config/hooks.php.dist
patch
|
blob
|
history
diff --git
a/imp/config/hooks.php.dist
b/imp/config/hooks.php.dist
index
4e2c86c
..
9281e2e
100644
(file)
--- a/
imp/config/hooks.php.dist
+++ b/
imp/config/hooks.php.dist
@@
-76,6
+76,10
@@
class IMP_Hooks
*/
// function prefs_hook_add_source($username = null)
// {
+// if (!$username) {
+// return;
+// }
+//
// // Example #1: Useful hook when using a Turba source with shares
// // enabled (i.e. the example localsql configuration).
// return $GLOBALS['registry']->call('contacts/getDefaultShare');