MDL-27804 allow changing of only auth in csv user uploads
authorPetr Skoda <commits@skodak.org>
Fri, 15 Jul 2011 09:07:33 +0000 (11:07 +0200)
committerPetr Skoda <commits@skodak.org>
Fri, 15 Jul 2011 09:07:33 +0000 (11:07 +0200)
admin/uploaduser.php

index acc08d2..c827ce7 100644 (file)
@@ -470,6 +470,7 @@ if ($formdata = $mform2->is_cancelled()) {
                     if (!isset($supportedauths[$user->auth])) {
                         $upt->track('auth', $struserauthunsupported, 'warning');
                     }
                     if (!isset($supportedauths[$user->auth])) {
                         $upt->track('auth', $struserauthunsupported, 'warning');
                     }
+                    $doupdate = true;
                 }
                 $allcolumns = array_merge($STD_FIELDS, $PRF_FIELDS);
                 foreach ($allcolumns as $column) {
                 }
                 $allcolumns = array_merge($STD_FIELDS, $PRF_FIELDS);
                 foreach ($allcolumns as $column) {