Skip to content

Fix Moodle 5.1+ compatibility for course request form#3075

Open
weilai-irl wants to merge 1 commit intoMOODLE_405_STABLEfrom
wip-125409-m405
Open

Fix Moodle 5.1+ compatibility for course request form#3075
weilai-irl wants to merge 1 commit intoMOODLE_405_STABLEfrom
wip-125409-m405

Conversation

@weilai-irl
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings February 27, 2026 11:48
@weilai-irl weilai-irl self-assigned this Feb 27, 2026
@weilai-irl weilai-irl added this to the 2026-01 milestone Feb 27, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the local_o365 course request form to remain compatible across Moodle versions where the core “request course” form class/file location changed (Moodle 5.1+).

Changes:

  • Conditionally loads the appropriate core course request form implementation depending on which Moodle core file exists.
  • Introduces a class_alias() shim (local_o365\form\parent_request_course) so courserequestform can extend a consistent parent across Moodle versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants