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

              tmuras Tomasz Muras
              tmuras Tomasz Muras
              Rossiani Wijaya Rossiani Wijaya
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Damyon Wiese Damyon Wiese
              Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/May/14