Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Needs Component in Version.php #3

Open
OptrixAU opened this issue Apr 10, 2016 · 0 comments
Open

Needs Component in Version.php #3

OptrixAU opened this issue Apr 10, 2016 · 0 comments

Comments

@OptrixAU
Copy link

As of Moodle 3 (and enforced in 3.01+), you need to add the following line to your version.php...

$plugin->component = 'enrol_invitation';

Plugins apparently now need to declare their own unique ID, made up of the type of the plugin, an underscore and the name of the plugin.

After making this change, the plugin installs correctly. Users can apply this manually, but it would of course be nice to see this added to the source.

@OptrixAU OptrixAU mentioned this issue May 21, 2016
ollielawson pushed a commit to ollielawson/moodle-enrol_invitation that referenced this issue Feb 19, 2020
ollielawson pushed a commit to ollielawson/moodle-enrol_invitation that referenced this issue Feb 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant