[dev] _imp_hook_vinfo != _imp_hooks_vinfo

Edwin Culp eculp@encontacto.net
Sat, 14 Sep 2002 10:23:31 -0700


It is amazing just how similar _imp_hook_vinfo in one file and 
_imp_hooks_vinfo in another can sometimes be read as the same.:-)

I suggest horde/config/hooks.php.dist be changed.  There may actually
be someone else who will overlook the "s" :-)

Index: hooks.php.dist
===================================================================
RCS file: /repository/horde/config/hooks.php.dist,v
retrieving revision 1.8
diff -u -r1.8 hooks.php.dist
--- hooks.php.dist	13 Sep 2002 22:13:03 -0000	1.8
+++ hooks.php.dist	14 Sep 2002 16:58:02 -0000
@@ -206,8 +206,8 @@
 // ex. $HTTP_HOST = 'mail.mydomain.com', $imp['user'] = 'myname'
 //   $vdomain  = 'mydomain.com'
 //   $username = 'myname_mydomain_com'
-if (!function_exists('_imp_hooks_vinfo')) {
-    function _imp_hooks_vinfo($type = 'username')
+if (!function_exists('_imp_hook_vinfo')) {
+    function _imp_hook_vinfo($type = 'username')
     {
         global $conf, $imp;