Replacing depreceated JRequest::checkToken() with JSession::checkToken()