diff --git a/admin/uploaduser.php b/admin/uploaduser.php index 5b67a793484..ce86f5da9d1 100755 --- a/admin/uploaduser.php +++ b/admin/uploaduser.php @@ -120,7 +120,8 @@ if ( $formdata = $mform->get_data() ) { "role4" => 1, "role5" => 1, "password" => $createpassword, - "oldusername" => $allowrenames); + "oldusername" => $allowrenames, + "emailstop" => 1); // --- get header (field names) --- $header = split($csv_delimiter, fgets($fp,1024)); diff --git a/lang/en_utf8/help/uploadusers.html b/lang/en_utf8/help/uploadusers.html index 9b7b222df9b..7c58cdf372d 100644 --- a/lang/en_utf8/help/uploadusers.html +++ b/lang/en_utf8/help/uploadusers.html @@ -14,7 +14,7 @@
Default fieldnames: these are optional - if they are not included then the values are taken from the primary admin
institution, department, city, country, lang, auth, timezone
Optional fieldnames: all of these are completely optional. The course names are the "shortnames" of the courses - if present then the user will be enrolled as students in those courses. Group names must be associated to the corresponding courses, i.e. group1 to course1, etc.
- idnumber, icq, phone1, phone2, address, url, description, mailformat, maildisplay, htmleditor, autosubscribe, course1, course2, course3, course4, course5, group1, group2, group3, group4, group5, type1, type2, type3, type4, type5, role1, role2, role3, role4, role5
idnumber, icq, phone1, phone2, address, url, description, mailformat, maildisplay, htmleditor, autosubscribe, course1, course2, course3, course4, course5, group1, group2, group3, group4, group5, type1, type2, type3, type4, type5, role1, role2, role3, role4, role5, emailstop