Commit e9b19343 by Eric Fischer Committed by GitHub

Merge pull request #14688 from edx/efischer/email_all_modes

All modes are valid bulk email targets
parents cba73414 39363c11
......@@ -637,7 +637,7 @@ def _section_send_email(course, access):
course_modes = []
from verified_track_content.models import VerifiedTrackCohortedCourse
if not VerifiedTrackCohortedCourse.is_verified_track_cohort_enabled(course_key):
course_modes = CourseMode.modes_for_course(course_key)
course_modes = CourseMode.modes_for_course(course_key, include_expired=True, only_selectable=False)
email_editor = fragment.content
section_data = {
'section_key': 'send_email',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment