Browse Source
Merge pull request #80 from andil-elearning/timestart
Set timestart on enrolment confirmation
SABERES_37_STABLE
Flotter Totte
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
lib.php
|
|
@ -252,7 +252,7 @@ class enrol_apply_plugin extends enrol_plugin { |
|
|
|
continue; |
|
|
|
} |
|
|
|
|
|
|
|
$this->update_user_enrol($instance, $userenrolment->userid, ENROL_USER_ACTIVE); |
|
|
|
$this->update_user_enrol($instance, $userenrolment->userid, ENROL_USER_ACTIVE, time()); |
|
|
|
$DB->delete_records('enrol_apply_applicationinfo', array('userenrolmentid' => $enrol)); |
|
|
|
|
|
|
|
$this->notify_applicant( |
|
|
|