Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-43040

Change $module into $plugin in mod/*/version.php

    Details

      Description

      See discussion on https://moodle.org/mod/forum/discuss.php?d=241688 . Everything but mod/*/version.php uses $plugin, just those version.php files are an exception.

      Since usage of both $plugin and $module is now possible, there is nothing that stops us from unifying it and getting rid of $module altogether.

      I have tested the change locally by re-installing Moodle and it works just fine. Once this is integrated, we should change the documentation in http://docs.moodle.org/dev/version.php and new module template.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  1 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/May/14