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

Dashboard does not redirect to upgrade screen

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.7.7, 2.8.5, 2.9
    • Fix Version/s: 2.7.8, 2.8.6
    • Component/s: Installation
    • Labels:

      Description

      In 2.9 we changed the default setting for the home page to be the "Dashboard" (previously called "My home"). This means admin after login may never hit "Site home" (former "Frontpage"). If upgrade is pending admin is not redirected to the upgrade page because this code is present in /index.php but is missing on /my/index.php :

      if ($hassiteconfig && moodle_needs_upgrading()) {
          redirect($CFG->wwwroot .'/'. $CFG->admin .'/index.php');
      }
      

        Attachments

          Activity

            People

            Assignee:
            fred Frédéric Massart
            Reporter:
            marina Marina Glancy
            Peer reviewer:
            Damyon Wiese Damyon Wiese
            Integrator:
            Andrew Lyons Andrew Lyons
            Tester:
            Rajesh Taneja Rajesh Taneja
            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:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/May/15