From ae34212528186ed1114654ccba2758d53a9314fb Mon Sep 17 00:00:00 2001 From: Zia Fazal Date: Fri, 21 Dec 2018 20:27:19 +0500 Subject: [PATCH] Fixed bug which stopped new user link with All edX Users sailthru list --- common/djangoapps/student/views/management.py | 2 -- lms/djangoapps/email_marketing/signals.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/common/djangoapps/student/views/management.py b/common/djangoapps/student/views/management.py index 48e0e792ba..bab16b4b04 100644 --- a/common/djangoapps/student/views/management.py +++ b/common/djangoapps/student/views/management.py @@ -111,8 +111,6 @@ REGISTRATION_UTM_PARAMETERS = { 'utm_content': 'registration_utm_content', } REGISTRATION_UTM_CREATED_AT = 'registration_utm_created_at' -# used to announce a registration -REGISTER_USER = Signal(providing_args=["user", "registration"]) def csrf_token(context): diff --git a/lms/djangoapps/email_marketing/signals.py b/lms/djangoapps/email_marketing/signals.py index 6c66f33e9e..3d1bc8f5ed 100644 --- a/lms/djangoapps/email_marketing/signals.py +++ b/lms/djangoapps/email_marketing/signals.py @@ -18,9 +18,9 @@ from email_marketing.models import EmailMarketingConfiguration from lms.djangoapps.email_marketing.tasks import get_email_cookies_via_sailthru, update_user, update_user_email from openedx.core.djangoapps.user_authn.cookies import CREATE_LOGON_COOKIE from openedx.core.djangoapps.lang_pref import LANGUAGE_KEY +from openedx.core.djangoapps.user_authn.views.register import REGISTER_USER from openedx.core.djangoapps.waffle_utils import WaffleSwitchNamespace from student.signals import SAILTHRU_AUDIT_PURCHASE -from student.views import REGISTER_USER from util.model_utils import USER_FIELD_CHANGED from .tasks import update_course_enrollment