forked from extern/egroupware
fix for bug:
- [ 1442406 ] patch: Account hooks don't see installed applications - [ 1232664 ] new ldap users not activating hook
This commit is contained in:
parent
e3c0783cee
commit
dc48662fc8
@ -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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user