Browse Source

Set timestart on enrolment confirmation

SABERES_37_STABLE
Arnaud Trouvé 7 years ago
parent
commit
b38cf7b56c
  1. 2
      lib.php

2
lib.php

@ -252,7 +252,7 @@ class enrol_apply_plugin extends enrol_plugin {
continue; 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)); $DB->delete_records('enrol_apply_applicationinfo', array('userenrolmentid' => $enrol));
$this->notify_applicant( $this->notify_applicant(

Loading…
Cancel
Save