How to edit enrolment expiry notice to order by date, not last name in 3.1.2+ (Build: 20161020)

Re: How to edit enrolment expiry notice to order by date, not last name in 3.1.2+ (Build: 20161020)

by Debbie Kay -
Number of replies: 1

Hi

I found the area which needs editing in the language pack, it is now in enrol_manual.php (not moodle.php)

I hope I could at least regain the 2 part notice by copying the code from our 1.9 instance, but find some elements do not work.

Can anyone help with what was '$a->current' (inserted users expiring in the threshold number of days selected) and '$a->past' (inserted users expiring within the threshold number of days) used in 1.9 has changed to in 3.1 to show the same information?

Or how to edit the existing notification to order by date would be a good solution as well, if anyone can offer that.

Many thanks for reading!

In reply to Debbie Kay

Re: How to edit enrolment expiry notice to order by date, not last name in 3.1.2+ (Build: 20161020)

by Debbie Kay -

Still stuck with this.

Can anyone shed any light on how to achieve this?

Many thanks!