Esempio n. 1
0
/**
 * Saves user settings.
 *
 * @todo this assumes settings are coming in on a GET/POST request
 *
 * @note This is a handler for the 'usersettings:save', 'user' plugin hook
 *
 * @return void
 * @access private
 */
function users_settings_save()
{
    elgg_set_user_language();
    elgg_set_user_password();
    elgg_set_user_default_access();
    elgg_set_user_name();
    elgg_set_user_email();
}
Esempio n. 2
0
function users_settings_save($hook, $type, $return, $params)
{
    elgg_set_user_language();
    //elgg_set_user_password();
    set_user_password();
    elgg_set_user_default_access();
    elgg_set_user_name();
    elgg_set_user_email();
}