admin/uploaduser.php: Fixed not enrolling user into course if user already exists

Author: Patrick Li <patrick@catalyst.net.nz>
Committer: Luke Hudson <luke@catalyst.net.nz>
This commit is contained in:
cataluke 2007-04-18 02:43:16 +00:00
parent 6bed4299ce
commit 1a82ce5dab

View File

@ -268,7 +268,6 @@ if ($um->preprocess_files() && confirm_sesskey()) {
//This can be used to obtain a list of userids for existing users
notify("$olduser->id ".get_string('usernotaddedregistered', 'error', $username));
$userserrors++;
continue;
}
} else { // new user