Ryzom Account Management System  1.0
Functions
/home/daan/ryzom/ryzomcore/code/ryzom/tools/server/ryzom_ams/www/html/func/change_receivemail.php File Reference

Functions

 change_receivemail ()
 This function is beign used to change the users receiveMail setting.

Function Documentation

This function is beign used to change the users receiveMail setting.

It will first check if the user who executed this function is the person of whom the setting is or if it's a mod/admin. If this is not the case the page will be redirected to an error page. it will check if the new value equals 1 or 0 and it will update the setting and redirect the page again.

Author:
Daan Janssens, mentored by Matthew Lagoe
 All Data Structures Files Functions Variables