Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Moodle 4.5 support #141

Open
wants to merge 2 commits into
base: MOODLE_401_STABLE
Choose a base branch
from

Conversation

Fragonite
Copy link
Contributor

Adds after_config hook and fixes some deprecated assert calls.

* @param \core\hook\after_config $hook
*/
public static function after_config(\core\hook\after_config $hook): void {
// The original callback performs no operations, so we don't need to do anything here.
Copy link
Member

Choose a reason for hiding this comment

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

Original hook is there to make sure vendor libs are loaded. You probably need to load then in the hook.
See https://github.com/catalyst/moodle-tool_dataflows/blob/MOODLE_405_STABLE/classes/local/hooks/after_config.php#L39

Copy link
Member

Choose a reason for hiding this comment

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

@Fragonite should we merge this one first #131 and then upgrade?

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.

2 participants