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

Fix some deprecation warnings #6

Open
wants to merge 4 commits into
base: ver3.1
Choose a base branch
from

Conversation

jcharaoui
Copy link

These warning are related to newer (7.0 and up) PHP versions and recent Moodle releases.

This is a fix for the following PHP deprecation warning: "Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; wwassignment_client has a deprecated constructor in wwassignment/locallib.php on line 655"
As per warning message: "core_renderer::update_module_button() has been deprecated and should not be used anymore."
The correct function name for a constructor is __construct()
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.

1 participant