Is notification page supposed to be free of require_login()?

Re: Is notification page supposed to be free of require_login()?

by Tim Hunt -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

It has to be. For major upgrades, like 1.9 -> 2.0, the database tables that the login code uses may have changed a lot between releases, so require_login cannot work until after the upgrade is comlete.

This is why you should put your site into maintenance mode before starting to upgrade.

Average of ratings: Useful (1)