From deba009e25165fa3749052d4fb078e31333114e9 Mon Sep 17 00:00:00 2001 From: Awais Jibran Date: Fri, 12 Nov 2021 00:28:35 +0500 Subject: [PATCH] refactor: remove unused variables (#29304) I have come across these unused variables and thought it's good to remove and clean up the code. --- lms/djangoapps/instructor/views/instructor_dashboard.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lms/djangoapps/instructor/views/instructor_dashboard.py b/lms/djangoapps/instructor/views/instructor_dashboard.py index 712a174015..b3ebc12699 100644 --- a/lms/djangoapps/instructor/views/instructor_dashboard.py +++ b/lms/djangoapps/instructor/views/instructor_dashboard.py @@ -129,10 +129,6 @@ def instructor_dashboard_2(request, course_id): # lint-amnesty, pylint: disable if not request.user.has_perm(permissions.VIEW_DASHBOARD, course_key): raise Http404() - is_white_label = CourseMode.is_white_label(course_key) # lint-amnesty, pylint: disable=unused-variable - - reports_enabled = configuration_helpers.get_value('SHOW_ECOMMERCE_REPORTS', False) # lint-amnesty, pylint: disable=unused-variable - sections = [] if access['staff']: sections_content = [