MDL-79986 course: Remove $CFG->linkcoursesections setting

Currently, the $CFG->linkcoursesections setting was only used
for the Classic theme, to let admins decide whether the section
names in the Navigation block would be linked or not.

Now that the course/section.php page has been created to display
the content of any single section, and a link to this section page
has been added from the main course page to help users to focus
on the section content, it has been decided to remove the setting
$CFG->linkcoursesections because it's not required anymore.
This commit is contained in:
Sara Arjona 2023-11-10 15:54:47 +01:00
parent 6792a40924
commit dd723bae71
No known key found for this signature in database
6 changed files with 15 additions and 4 deletions

View file

@ -7,6 +7,8 @@ Overview of this plugin type at https://moodledev.io/docs/apis/plugintypes/forma
valid section move mutation.
* The state action core_courseformat\stateactions::section_move is deprecated and
replaced by core_courseformat\stateactions::section_move_after.
* $CFG->linkcoursesections setting has been completely removed because it's not required anymore. From now on, sections will be
always linked because a new page, section.php, has been created to display any single section.
=== 4.3 ===
* New core_courseformat\output\activitybadge class that can be extended by any module to display content near the activity name.