We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e336e2 commit 80fa4f3Copy full SHA for 80fa4f3
1 file changed
openedx/core/djangoapps/discussions/tasks.py
@@ -201,6 +201,10 @@ def update_unit_discussion_state_from_discussion_blocks(
201
"""
202
store = modulestore()
203
course = store.get_course(course_key)
204
+ # The provider information has been written to both `provider_type` and `provider`.
205
+ # Both of these serve the same purpose and this is an accident of early development.
206
+ # The `provider_type` key is now treated as read-only to allow existing values
207
+ # to be respected while moving to the `provider` key in the future.
208
provider = course.discussions_settings.get(
209
'provider_type',
210
course.discussions_settings.get('provider', None),
0 commit comments