-
Bug
-
Resolution: Fixed
-
Minor
-
3.3.6, 3.4.3, 3.5
-
MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MDL-62761-master -
This is one thing I forgot to do when I introduced user and group overrides into the lesson activity module in --.MDL-49642
On the index page the lessons close date is simply taken from $lesson->deadline, which is wrong if there is an user or group override for the user viewing the page.
I think we could create a lesson_get_user_deadline function similar to quiz_get_user_timeclose and use it here (and maybe other places too).
Note that the index page could also benefit from a small lifting as some code here seems rather outdated (there is even a font tag that is deprecated in HTML 5 !) but this should certainly be a separate issue.