MDL-7835 - add emailstop to user upload
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<p><strong>Default fieldnames:</strong> these are optional - if they are not included then the values are taken from the primary admin</p>
|
||||
<p><code class="example1">institution, department, city, country, lang, auth, timezone</code> </p>
|
||||
<p><strong>Optional fieldnames: </strong>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.</p>
|
||||
<p> <code class="example1">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</code></p>
|
||||
<p> <code class="example1">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</code></p>
|
||||
</blockquote>
|
||||
</li>
|
||||
<li>Commas within the data should be encoded as &#44 - the script will automatically decode these back to commas. </li>
|
||||
|
||||
Reference in New Issue
Block a user