fix for bug:

- [ 1442406 ] patch: Account hooks don't see installed applications
- [ 1232664 ] new ldap users not activating hook
This commit is contained in:
Ralf Becker 2006-03-08 17:21:52 +00:00
parent e3c0783cee
commit dc48662fc8
2 changed files with 4 additions and 2 deletions

View File

@ -1045,7 +1045,7 @@
$GLOBALS['egw']->hooks->process($GLOBALS['hook_values']+array(
'location' => 'addaccount',
// at login-time only the hooks from the following apps will be called
'order' => array('felamimail'),
'order' => array('felamimail','fudforum'),
),False,True); // called for every app now, not only enabled ones
} /* end account setup */
else /* if no account id abort the account creation */

View File

@ -417,7 +417,9 @@
$GLOBALS['hook_values']['account_firstname'] = $acct_info['account_firstname'];
$GLOBALS['hook_values']['account_lastname'] = $acct_info['account_lastname'];
$GLOBALS['egw']->hooks->process($GLOBALS['hook_values']+array(
'location' => 'addaccount'
'location' => 'addaccount',
// at login-time only the hooks from the following apps will be called
'order' => array('felamimail','fudforum'),
),False,True); /* called for every app now, not only enabled ones */
} /* end account setup */