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

Stop IDEs getting confused by multiple definitions of moodleform_mod #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

davosmith
Copy link
Contributor

The current implementation is breaking autocompletion in PHPStorm on moodleform_mod forms throughout the codebase I am working with. This is due to there being multiple definitions of moodleform_mod.

This alternative implementation prevents that from happening.

@davosmith
Copy link
Contributor Author

I wondered if there was any chance of this change being integrated? It does make development of other activity modules more difficult when mod_oublog is present on a site.

@jason-platts
Copy link
Member

Davo, thanks for this - I hadn't totally forgotten to add this into our codebase, honest (I just hadn't got round to it after a year - so maybe that is the same thing as forgetting!). I will try and remember to merge for our next release...

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