Details
Description
The AdminUpgrade controller inherits AppController::postAction(), which attempts to evaluate maintenance mode, which in turn requires Session. Since Session is not defined as AdminUpgrade overrides AppController::preAction(), it should do the same for postAction.