diff --git a/lms/djangoapps/discussion/config/settings.py b/lms/djangoapps/discussion/config/settings.py index 946754cb1b19..76e4ad75947a 100644 --- a/lms/djangoapps/discussion/config/settings.py +++ b/lms/djangoapps/discussion/config/settings.py @@ -5,7 +5,7 @@ # .. toggle_name: FEATURES['ENABLE_FORUM_DAILY_DIGEST'] # .. toggle_implementation: DjangoSetting -# .. toggle_default: True +# .. toggle_default: False # .. toggle_description: Settings for forums/discussions to on/off daily digest # feature. Set this to True if you want to enable users to subscribe and unsubscribe # for daily digest. This setting enables deprecation of daily digest. @@ -16,4 +16,4 @@ def is_forum_daily_digest_enabled(): """Returns whether forum notification features should be visible""" - return settings.FEATURES.get('ENABLE_FORUM_DAILY_DIGEST', True) + return settings.FEATURES.get('ENABLE_FORUM_DAILY_DIGEST', False) diff --git a/lms/djangoapps/discussion/notification_prefs/tests.py b/lms/djangoapps/discussion/notification_prefs/tests.py index 75c0b86bb8e0..ea775185afdb 100644 --- a/lms/djangoapps/discussion/notification_prefs/tests.py +++ b/lms/djangoapps/discussion/notification_prefs/tests.py @@ -28,6 +28,7 @@ class NotificationPrefViewTest(UrlResetMixin, TestCase): # lint-amnesty, pylint INITIALIZATION_VECTOR = b"\x00" * 16 @patch.dict("django.conf.settings.FEATURES", {"ENABLE_DISCUSSION_SERVICE": True}) + @patch.dict("django.conf.settings.FEATURES", {"ENABLE_FORUM_DAILY_DIGEST": True}) def setUp(self): super().setUp() self.user = UserFactory.create(username="testuser")