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

Make all upgrade.php script to contain only one function

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_23_STABLE

      Description

      While working on MDL-34096 I ended adding some extra checks to the "check_upgrade_savepoints" automated check, resulting into 5 upgrade.php having more functions than the "xmldb_component_upgrade" official one.

      Ideally, any other function should go to sister upgradelib.php to fulfill the norm completely. This is the list of upgrade.php script not observing it:

      • portfolio/googledocs/db/upgrade.php
      • portfolio/picasa/db/upgrade.php
      • question/type/essay/db/upgrade.php
      • repository/googledocs/db/upgrade.php
      • repository/picasa/db/upgrade.php

      Ciao

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              moodle.com moodle.com
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: