Skip to content

Commit

Permalink
fix: removed enable_discussion_mfe from email content
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jan 16, 2024
1 parent 3ccd2d1 commit 781c7c7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lms/djangoapps/discussion/toggles_utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""
Utils for Discussions feature toggles
"""
from lms.djangoapps.discussion.toggles import ENABLE_DISCUSSIONS_MFE
from openedx.core.djangoapps.django_comment_common.models import CourseDiscussionSettings


Expand All @@ -10,5 +9,4 @@ def reported_content_email_notification_enabled(course_key):
Checks for relevant flag and setting and returns boolean for reported
content email notification for course
"""
return bool(ENABLE_DISCUSSIONS_MFE.is_enabled(course_key) and
CourseDiscussionSettings.get(course_key).reported_content_email_notifications)
return CourseDiscussionSettings.get(course_key).reported_content_email_notifications

0 comments on commit 781c7c7

Please sign in to comment.