Update logistration MFE feature flag (#25356)

update logistration MFE feature flag to not be used in conjunction
with Accounts MFE toggle.

VAN-11
This commit is contained in:
Zainab Amir
2020-10-23 12:11:56 +05:00
committed by GitHub
parent b4f7647b40
commit 49ea5f5188
12 changed files with 37 additions and 47 deletions

View File

@@ -2,8 +2,6 @@
Toggles for accounts related code.
"""
from django.conf import settings
from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers
from openedx.core.djangoapps.waffle_utils import WaffleFlag
@@ -44,10 +42,3 @@ def should_redirect_to_account_microfrontend():
configuration_helpers.get_value('ENABLE_ACCOUNT_MICROFRONTEND') and
REDIRECT_TO_ACCOUNT_MICROFRONTEND.is_enabled()
)
def should_redirect_to_logistration_mircrofrontend():
return (
should_redirect_to_account_microfrontend() and
settings.FEATURES.get('ENABLE_LOGISTRATION_MICROFRONTEND')
)