Added backup/restore support for the new fields I added today
This commit is contained in:
@@ -55,7 +55,6 @@ Now I show the specific detailed status of every item in the process:
|
||||
32. TODO: quiz_questions->hidden and quiz_responses->originalquestion
|
||||
33. TODO: quiz_question_version
|
||||
34. TODO: Group images aren't included at all in backup/restore. Bug 2674.
|
||||
35. TODO: Add suppor for user->msn, aim, yahoo and skype
|
||||
|
||||
Eloy (stronk7)
|
||||
23-01-2004
|
||||
|
||||
@@ -1086,6 +1086,10 @@
|
||||
fwrite ($bf,full_tag("EMAIL",4,false,$user_data->email));
|
||||
fwrite ($bf,full_tag("EMAILSTOP",4,false,$user_data->emailstop));
|
||||
fwrite ($bf,full_tag("ICQ",4,false,$user_data->icq));
|
||||
fwrite ($bf,full_tag("SKYPE",4,false,$user_data->skype));
|
||||
fwrite ($bf,full_tag("YAHOO",4,false,$user_data->yahoo));
|
||||
fwrite ($bf,full_tag("AIM",4,false,$user_data->aim));
|
||||
fwrite ($bf,full_tag("MSN",4,false,$user_data->msn));
|
||||
fwrite ($bf,full_tag("PHONE1",4,false,$user_data->phone1));
|
||||
fwrite ($bf,full_tag("PHONE2",4,false,$user_data->phone2));
|
||||
fwrite ($bf,full_tag("INSTITUTION",4,false,$user_data->institution));
|
||||
|
||||
@@ -3269,6 +3269,18 @@
|
||||
case "ICQ":
|
||||
$this->info->tempuser->icq = $this->getContents();
|
||||
break;
|
||||
case "SKYPE":
|
||||
$this->info->tempuser->skype = $this->getContents();
|
||||
break;
|
||||
case "AIM":
|
||||
$this->info->tempuser->aim = $this->getContents();
|
||||
break;
|
||||
case "YAHOO":
|
||||
$this->info->tempuser->yahoo = $this->getContents();
|
||||
break;
|
||||
case "MSN":
|
||||
$this->info->tempuser->msn = $this->getContents();
|
||||
break;
|
||||
case "PHONE1":
|
||||
$this->info->tempuser->phone1 = $this->getContents();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user