Commit 3a748b1e by David Ormsbee

Merge pull request #1587 from MITx/feature/kevin/cohorts_take_3

Feature/kevin/cohorts take 3
parents 999ed17e a9804a33
......@@ -91,7 +91,6 @@ def create_thread(request, course_id, commentable_id):
'user_id': request.user.id,
})
user = cc.User.from_django_user(request.user)
#kevinchugh because the new requirement is that all groups will be determined
......@@ -112,8 +111,8 @@ def create_thread(request, course_id, commentable_id):
# regular users always post with their own id.
group_id = user_group_id
if group_id:
thread.update_attributes(group_id=group_id)
if group_id:
thread.update_attributes(group_id=group_id)
thread.save()
......
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