mirror of
https://github.com/moodle/moodle.git
synced 2025-08-02 15:49:43 +02:00
Merge branch 'wip-mdl-27603-master' of git://github.com/rajeshtaneja/moodle
This commit is contained in:
commit
52a3c2c703
1 changed files with 2 additions and 2 deletions
|
@ -1062,7 +1062,7 @@ abstract class enrol_plugin {
|
|||
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 @@ abstract class enrol_plugin {
|
|||
$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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue