Merge branch 'w41_MDL-28980_m24_expirywarning' of git://github.com/skodak/moodle
This commit is contained in:
@@ -421,7 +421,8 @@ class enrol_manual_plugin extends enrol_plugin {
|
||||
|
||||
foreach($rs as $ue) {
|
||||
if ($lastenrollid and $lastenrollid != $ue->enrolid) {
|
||||
$this->notify_expiry_enroller($ue->enrolid, $users, $verbose);
|
||||
$this->notify_expiry_enroller($lastenrollid, $users, $verbose);
|
||||
$users = array();
|
||||
}
|
||||
$lastenrollid = $ue->enrolid;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user