New user field called "emailstop" ... to stop emails.

I had to do it ... this is driving me nuts with some people
on moodle.org
This commit is contained in:
moodler 2004-02-20 09:02:27 +00:00
parent 017b4cab3e
commit 8199e3f09a
7 changed files with 15 additions and 1 deletions

View file

@ -712,6 +712,7 @@
fwrite ($bf,full_tag("FIRSTNAME",4,false,$user_data->firstname));
fwrite ($bf,full_tag("LASTNAME",4,false,$user_data->lastname));
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("PHONE1",4,false,$user_data->phone1));
fwrite ($bf,full_tag("PHONE2",4,false,$user_data->phone2));

View file

@ -2029,6 +2029,9 @@
case "EMAIL":
$this->info->tempuser->email = $this->getContents();
break;
case "EMAILSTOP":
$this->info->tempuser->emailstop = $this->getContents();
break;
case "ICQ":
$this->info->tempuser->icq = $this->getContents();
break;