Permalink
Browse files

Merge branch 'wip-mdl-27603-master' of git://github.com/rajeshtaneja/…

…moodle
  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed May 30, 2011
2 parents 8dc13ee + 6006774 commit 52a3c2c703694295aeddb260360cbb47e0b0129d
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 52a3c2c

Please sign in to comment.