function DoChange()
 {
     global $gpAdmin;
     $this->ChangeEmail();
     $this->ChangePass();
     gpsession::SetGPUI();
     $this->SaveUserFile();
 }
Beispiel #2
0
 /**
  * Save UI values for the current user
  *
  */
 function SaveGPUI()
 {
     global $gpAdmin;
     gpsession::SetGPUI();
     includeFile('tool/ajax.php');
     //send response so an error is not thrown
     echo gpAjax::Callback($_REQUEST['jsoncallback']) . '([]);';
     die;
     //for debugging
     die('debug: ' . showArray($_POST) . 'result: ' . showArray($gpAdmin));
 }