Skip to content

Commit

Permalink
Merge branch 'MDL-31823_21' of git://github.com/dmonllao/moodle into …
Browse files Browse the repository at this point in the history
…MOODLE_21_STABLE
  • Loading branch information
Sam Hemelryk committed Jun 5, 2012
2 parents 7d4c5ac + 92bf183 commit 8ad117c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions enrol/mnet/enrol.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ public function enrol_user(array $userdata, $courseid) {
$user = mnet_strip_user((object)$userdata, mnet_fields_to_import($client));
$user->mnethostid = $client->id;
$user->auth = 'mnet';
$user->confirmed = 1;
try {
$user->id = $DB->insert_record('user', $user);
} catch (Exception $e) {
Expand Down

0 comments on commit 8ad117c

Please sign in to comment.