-
Bug
-
Resolution: Fixed
-
Critical
-
2.7.7, 2.8.5, 2.9
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MDL-50038-master -
- Logout
- Request the page /my
- Now you're on the login page, wait!
- Bump your version number
- Login
- Make sure you're redirected to the admin page to upgrade Moodle
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');
|
}
|