Commit 32a84e57 by Sef Kloninger

Merge pull request #2683 from edx/jbau/edx-west/deanon_email_hotfix

patch to keep sending deanonymized email to xqueue
parents ba700333 a7b9e56b
...@@ -284,6 +284,13 @@ class CapaMixin(CapaFields): ...@@ -284,6 +284,13 @@ class CapaMixin(CapaFields):
xqueue=self.runtime.xqueue, xqueue=self.runtime.xqueue,
) )
### @jbau 2-21-14 edx-west HACK for deanonymized email HERE ###
if hasattr(self.runtime, 'send_users_emailaddr_with_coderesponse'):
capa_system.send_users_emailaddr_with_coderesponse = self.runtime.send_users_emailaddr_with_coderesponse
if hasattr(self.runtime, 'deanonymized_user_email'):
capa_system.deanonymized_user_email = self.runtime.deanonymized_user_email
###############################################################
return LoncapaProblem( return LoncapaProblem(
problem_text=text, problem_text=text,
id=self.location.html_id(), id=self.location.html_id(),
......
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