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 = [