Closed luukverhoeven closed 5 years ago
hmm maybe I did something wrong, on multiple places there is mod_ where it shouldn't be.
Thanks Luuk. You are right. I can confirm that in case of activity modules, the "mod" should not be here. This is a known legacy from early versions of Moodle. Activity modules were the first plugins for it and there was no convention of using the type prefix by that time. So in many places, activity modules are not supposed to provide the "mod" prefix, and many places where they are.
Meanwhile, please fix your plugin's code manually. Than you for letting me know about this.
Thanks for building this plugin in the first place. Its very handy way to start building a plugin. I found a small issue, the component name used in
upgrade.php
is incorrect when you building a mod.This should not contain mod_name but only the name. I think only
mod
should be without the plugin type.--