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

Dashboard does not redirect to upgrade screen


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.7.8, 2.8.6
    • 2.7.7, 2.8.5, 2.9
    • Installation

      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');

            fred Frédéric Massart
            marina Marina Glancy
            Damyon Wiese Damyon Wiese
            Andrew Lyons Andrew Lyons
            Rajesh Taneja Rajesh Taneja
            0 Vote for this issue
            5 Start watching this issue


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