Hello Wendi,
I have not changed the code for the old "lesson prerequisites" feature (that is to be removed in a future version of Moodle and that you can't use in new lessons, only existing lesson can have prerequisites) so the warning should be displayed as before.
Can I ask for some informations
- Did you look at an old lesson that was made before Moodle 2.9 or are you trying to create a new lesson ?
- Can you confirm that we are speaking of the "Spend at least xxx minutes in the lesson" message that is used for the old lesson prerequisites feature and not the new "You completed this lesson in xxxxxx, which is less than the required time of yyyy. You might need to attempt the lesson again." that was introduced in Moodle 2.9 for the new "time spent" completion rule ?
- Are messages for other lesson prerequisites (password, dependency from other lessons, grade better than, completed, ...) also missing or is the one about time the only one missing ?
I understand that it's a bit confusing to have 2 features (prerequisites and activity completion) to do exactly the same thing but this was the only solution to not break existing lessons using prerequisites and introduce custom completion rules in lesson.
My best advice is to move your lessons to use activity completion as soon as possible and to stop using prerequisites.