Merge branch 'MDL-31823_master' of git://github.com/dmonllao/moodle
authorSam Hemelryk <sam@moodle.com>
Tue, 5 Jun 2012 22:14:00 +0000 (10:14 +1200)
committerSam Hemelryk <sam@moodle.com>
Tue, 5 Jun 2012 22:14:00 +0000 (10:14 +1200)
enrol/mnet/enrol.php

index c09cd7e..2fb785c 100644 (file)
@@ -146,6 +146,7 @@ class enrol_mnet_mnetservice_enrol {
             $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) {