-
Bug
-
Resolution: Fixed
-
Minor
-
4.4 regressions, 4.4.5, 4.5.1
While working on MDL-84139 I came over a method enrol_plugin::get_description_text() that was only overridden in enrol_fee and it was only used on course/info.php
So I looked further and found that:
- course/info.php is an ugly page that is hard to find (you have to have some strange combination of settings and course categories)
- it uses deprecated string 'summaryof', 'moodle'
- it calls method enrol_plugin::get_description_text() from all plugins and is only overridden in enrol_fee, the information from the callback is displayed ABOVE the course data
- in case of enrol_fee it displays the payment buttons that make the page even uglier. It may also be not relevant, if the user is already enrolled, for example
I suggest to:
- remove the method get_description_text() from enrol_fee plugin
- fix usage of deprecated string (un-deprecate or replace with another one)
- consider dropping course/info.php page completely (which means removing couple of methods from enrol api too)
- Discovered while testing
-
MDL-84139 Add an option to display title for the enrol_fee enrolment
-
- Closed
-
- has been marked as being related by
-
MDL-76565 Remove strings deprecated in Moodle versions <= 4.4
-
- Closed
-
- is a regression caused by
-
MDL-80541 Homogenize the section form title
-
- Closed
-
- will be (partly) resolved by
-
MDL-84142 Homogenise output of the enrolment methods on the course enrolment page
-
- Closed
-
- mentioned in
-
Page Loading...