Permalink
Browse files

Merge branch 'wip-mdl-27603-MOODLE_20_STABLE' of git://github.com/raj…

…eshtaneja/moodle into MOODLE_20_STABLE
  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed May 30, 2011
2 parents 3466a42 + 3fc24f1 commit 98c1207c46f799c911b8c4c4158ae23e36ee6202
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/enrollib.php
View
@@ -1062,7 +1062,7 @@ public function enrol_user(stdClass $instance, $userid, $roleid = NULL, $timesta
if (!is_null($status)) {
$ue->status = $status;
}
- $ue->modifier = $USER->id;
+ $ue->modifierid = $USER->id;
$ue->timemodified = time();
$DB->update_record('user_enrolments', $ue);
}
@@ -1073,7 +1073,7 @@ public function enrol_user(stdClass $instance, $userid, $roleid = NULL, $timesta
$ue->userid = $userid;
$ue->timestart = $timestart;
$ue->timeend = $timeend;
- $ue->modifier = $USER->id;
+ $ue->modifierid = $USER->id;
$ue->timecreated = time();
$ue->timemodified = $ue->timecreated;
$ue->id = $DB->insert_record('user_enrolments', $ue);

0 comments on commit 98c1207

Please sign in to comment.