diff --git a/backup/CHANGES_14_15.txt b/backup/CHANGES_14_15.txt index 5909a6f8a81..d52b4572d83 100644 --- a/backup/CHANGES_14_15.txt +++ b/backup/CHANGES_14_15.txt @@ -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 diff --git a/backup/backuplib.php b/backup/backuplib.php index 18b3156821a..217164b8533 100644 --- a/backup/backuplib.php +++ b/backup/backuplib.php @@ -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)); diff --git a/backup/restorelib.php b/backup/restorelib.php index e6938d2fa16..25927de5ed6 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -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;