Remove feature-flag bootstrap-5-subscription (#23114)

GitOrigin-RevId: 4a8dadb7e5ae65c2651b1eeb317bb43daca881c8
This commit is contained in:
Antoine Clausse 2025-02-14 13:32:08 +01:00 committed by Copybot
parent ccb2791a0d
commit 5d42e51d3e
9 changed files with 0 additions and 39 deletions

View file

@ -53,14 +53,6 @@ async function userSubscriptionPage(req, res) {
await SplitTestHandler.promises.getAssignment(req, res, 'pause-subscription')
// Populates splitTestVariants with a value for the split test name and allows
// Pug to read it
await SplitTestHandler.promises.getAssignment(
req,
res,
'bootstrap-5-subscription'
)
const { variant: flexibleLicensingVariant } =
await SplitTestHandler.promises.getAssignment(
req,
@ -206,12 +198,6 @@ async function successfulSubscription(req, res) {
if (!personalSubscription) {
res.redirect('/user/subscription/plans')
} else {
await SplitTestHandler.promises.getAssignment(
req,
res,
'bootstrap-5-subscription'
)
res.render('subscriptions/successful-subscription-react', {
title: 'thank_you',
personalSubscription,
@ -305,11 +291,6 @@ function cancelSubscription(req, res, next) {
* @returns {Promise<void>}
*/
async function canceledSubscription(req, res, next) {
await SplitTestHandler.promises.getAssignment(
req,
res,
'bootstrap-5-subscription'
)
return res.render('subscriptions/canceled-subscription-react', {
title: 'subscription_canceled',
user: SessionManager.getSessionUser(req.session),

View file

@ -14,7 +14,6 @@ import EmailHandler from '../Email/EmailHandler.js'
import { RateLimiter } from '../../infrastructure/RateLimiter.js'
import Modules from '../../infrastructure/Modules.js'
import UserAuditLogHandler from '../User/UserAuditLogHandler.js'
import SplitTestHandler from '../SplitTests/SplitTestHandler.js'
const rateLimiters = {
resendGroupInvite: new RateLimiter('resend-group-invite', {
@ -70,12 +69,6 @@ async function viewInvite(req, res, next) {
const { invite, subscription } =
await TeamInvitesHandler.promises.getInvite(token)
await SplitTestHandler.promises.getAssignment(
req,
res,
'bootstrap-5-subscription'
)
if (!invite) {
return ErrorController.notFound(req, res)
}
@ -192,12 +185,6 @@ async function viewInvites(req, res, next) {
groupSubscription.teamInvites.find(invite => invite.email === user.email)
)
await SplitTestHandler.promises.getAssignment(
req,
res,
'bootstrap-5-subscription'
)
return res.render('subscriptions/team/group-invites', {
teamInvites,
user,

View file

@ -2,7 +2,6 @@ extends ../layout-react
block vars
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
block entrypointVar
- entrypoint = 'pages/user/subscription/canceled-subscription'

View file

@ -2,7 +2,6 @@ extends ../layout-react
block vars
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
block entrypointVar
- entrypoint = 'pages/user/subscription/dashboard'

View file

@ -2,7 +2,6 @@ extends ../layout-react
block vars
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
block entrypointVar
- entrypoint = 'pages/user/subscription/successful-subscription'

View file

@ -2,7 +2,6 @@ extends ../../layout-react
block vars
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
block entrypointVar
- entrypoint = 'pages/user/subscription/group-invites'

View file

@ -2,7 +2,6 @@ extends ../../layout-react
block vars
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
block entrypointVar
- entrypoint = 'pages/user/subscription/invite-managed'

View file

@ -2,7 +2,6 @@ extends ../../layout-react
block vars
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
block entrypointVar
- entrypoint = 'pages/user/subscription/invite'

View file

@ -2,7 +2,6 @@ extends ../../layout-react
block vars
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
block append meta
meta(name="ol-user" data-type="json" content=user)