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

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

    XMLWordPrintable

    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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmuras Tomasz Muras
              Reporter:
              tmuras Tomasz Muras
              Peer reviewer:
              Rossiani Wijaya
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Damyon Wiese
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Andrew Nicols, Eloy Lafuente (stronk7), Juan Leyva, Jun Pataleta, Sander Bangma
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

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