From be0f5b70e9da945a48882a48f53561436bf8569c Mon Sep 17 00:00:00 2001 From: Matthew Piatetsky Date: Mon, 16 Mar 2020 15:26:56 -0400 Subject: [PATCH] Remove holdback check to give first purchase discount to all eligible users Not fully cleaning up the holdback code yet since the follow on first purchase discount tests may make use of it REV-1119 --- openedx/features/discounts/applicability.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/openedx/features/discounts/applicability.py b/openedx/features/discounts/applicability.py index 50e050c40b..3c25813b0d 100644 --- a/openedx/features/discounts/applicability.py +++ b/openedx/features/discounts/applicability.py @@ -136,10 +136,6 @@ def can_receive_discount(user, course, discount_expiration_date=None): if is_enterprise_learner(user): return False - # Excute holdback - if _is_in_holdback(user): - return False - return True