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

Make all upgrade.php script to contain only one function

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.3
    • Installation
    • MOODLE_23_STABLE

      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

            moodle.com Moodle HQ
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.