}
/**
- * Perform an post login activities required by the UF -
- * e.g. for drupal: records a watchdog message about the new session, saves the login timestamp, calls hook_user op 'login' and generates a new session.
- * @param array $edit: The array of form values submitted by the user.
- * Perform any post login activities required by the CMD -
++ * Perform any post login activities required by the CMS -
+ * e.g. for drupal: records a watchdog message about the new session, saves the login timestamp,
+ * calls hook_user op 'login' and generates a new session.
- * @param array params Params to be passed to the CMS function.
+ *
- function userLoginFinalize($edit = array()){
++ * @param array params
++ *
++ * FIXME: Document values accepted/required by $params
+ */
+ function userLoginFinalize($params = array()){
}
- */
}
}
/**
- * Perform an post login activities required by the UF -
- * e.g. for drupal: records a watchdog message about the new session, saves the login timestamp, calls hook_user op 'login' and generates a new session.
- * @param array $edit: The array of form values submitted by the user.
+ * Perform any post login activities required by the UF -
+ * e.g. for drupal: records a watchdog message about the new session, saves the login timestamp,
+ * calls hook_user op 'login' and generates a new session.
- * @param array params Params to be passed to the CMS function. Note there are no require params as drupal instantiates the user global
+ *
- function userLoginFinalize($edit = array()){
- user_login_finalize(&$edit);
++ * @param array params
++ *
++ * FIXME: Document values accepted/required by $params
+ */
+ function userLoginFinalize($params = array()){
+ user_login_finalize($params);
}
- */
/**
* Set a message in the UF to display to a user
}
/**
- * Perform an post login activities required by the UF -
- * e.g. for drupal : records a watchdog message about the new session, saves the login timestamp, calls hook_user op 'login' and generates a new session.
- * @param array $edit: The array of form values submitted by the user.
+ * Perform any post login activities required by the UF -
+ * e.g. for drupal : records a watchdog message about the new session,
+ * saves the login timestamp, calls hook_user op 'login' and generates a new session.
- * @param array params Params to be passed to the CMS function. Note there are no require params as drupal instantiates the user global
+ *
- function userLoginFinalize($edit = array()){
- user_authenticate_finalize(&$edit);
++ * @param array params
++ *
++ * FIXME: Document values accepted/required by $params
+ */
+ function userLoginFinalize($params = array()) {
+ user_authenticate_finalize($params);
}
- */
/**
* Set a message in the UF to display to a user