From ad90c05b98f616cf85faf1d28cd8f83864f7c041 Mon Sep 17 00:00:00 2001 From: Andy Shultz Date: Tue, 17 Oct 2023 15:11:16 -0400 Subject: [PATCH] fix: remove unused and untested function --- common/djangoapps/student/models/course_enrollment.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/djangoapps/student/models/course_enrollment.py b/common/djangoapps/student/models/course_enrollment.py index dfacf5706447..d89a8d967a00 100644 --- a/common/djangoapps/student/models/course_enrollment.py +++ b/common/djangoapps/student/models/course_enrollment.py @@ -225,12 +225,6 @@ def enrollment_counts(self, course_id): enroll_dict['total'] = total return enroll_dict - def enrolled_and_dropped_out_users(self, course_id): - """Return a queryset of Users in the course.""" - return User.objects.filter( - courseenrollment__course_id=course_id - ) - # Named tuple for fields pertaining to the state of # CourseEnrollment for a user in a course. This type