From e33bb864750b391ce835e624cd98adadfa148725 Mon Sep 17 00:00:00 2001 From: andrey-canon Date: Tue, 19 Nov 2024 16:28:05 -0500 Subject: [PATCH] feat: use general settings instead of site_configuration --- openedx/core/djangoapps/user_api/accounts/settings_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/user_api/accounts/settings_views.py b/openedx/core/djangoapps/user_api/accounts/settings_views.py index 2ba98be667a1..05b9f84f0593 100644 --- a/openedx/core/djangoapps/user_api/accounts/settings_views.py +++ b/openedx/core/djangoapps/user_api/accounts/settings_views.py @@ -160,7 +160,7 @@ def account_settings_context(request): 'show_dashboard_tabs': True, 'order_history': user_orders, 'disable_order_history_tab': ( - configuration_helpers.get_value('DISABLE_ORDER_HISTORY_TAB', False) + getattr(settings, 'DISABLE_ORDER_HISTORY_TAB', False) or should_redirect_to_order_history_microfrontend() ), 'show_linked_accounts_tab': should_show_linked_accounts_tab(),