diff --git a/phpgwapi/inc/class.accounts_ldap.inc.php b/phpgwapi/inc/class.accounts_ldap.inc.php index 7587db354d..74b9afd4a2 100644 --- a/phpgwapi/inc/class.accounts_ldap.inc.php +++ b/phpgwapi/inc/class.accounts_ldap.inc.php @@ -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 */ diff --git a/phpgwapi/inc/class.accounts_sql.inc.php b/phpgwapi/inc/class.accounts_sql.inc.php index a6aa690de8..2919c2b0d9 100644 --- a/phpgwapi/inc/class.accounts_sql.inc.php +++ b/phpgwapi/inc/class.accounts_sql.inc.php @@ -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 */