Commit 9ae0c234 authored by Francois Marier's avatar Francois Marier Committed by Gerrit Code Review
Browse files

Merge "Set the student id field on the usr table (bug #736302)"

parents 48ea8ba9 aa91ee15
......@@ -444,6 +444,8 @@ class LeapImportInternal extends LeapImportArtefactPlugin {
switch ($maharaattributes['artefacttype']) {
case 'studentid':
self::create_artefact($importer, $maharaattributes['artefacttype'], (string)$item);
$importer->get('usrobj')->studentid = (string)$item;
$importer->get('usrobj')->commit();
return;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment