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

Improve the test and redirect that forces an upgrade when there are major DB changes

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Installation
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      A the top of index.php and login/index.php there is a check to see whether there are such major changes to the database structure that we must force a redirect to the admin page immediately.

      This duplicated code should be moved to setuplib.php, and it should be changed so that it relies on as few other things as possible.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Petr Skoda Petr Skoda
            Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Nov/10