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

incorrect location for enableresourcelibrary config value #6

Open
danmarsden opened this issue Jul 30, 2020 · 0 comments
Open

incorrect location for enableresourcelibrary config value #6

danmarsden opened this issue Jul 30, 2020 · 0 comments

Comments

@danmarsden
Copy link

Config values are defined incorrectly and use the global $CFG namespace instead of config_plugins location.
eg:
https://github.com/call-learning/moodle-local_resourcelibrary/blob/master/settings.php#L58
admin_setting_configcheckbox('enableresourcelibrary'

should be:
admin_setting_configcheckbox('local_resourcelibrary/enableresourcelibrary'

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

No branches or pull requests

1 participant