removing some remnants of coach and plan
This commit is contained in:
@@ -1392,9 +1392,9 @@ def iscoachmember(user):
|
||||
r.save()
|
||||
|
||||
if user.is_authenticated:
|
||||
if 'coach' in r.rowerplan:
|
||||
if 'pro' in r.rowerplan:
|
||||
return True
|
||||
elif r.coachtrialexpires >= timezone.now().date():
|
||||
elif r.protrialexpires >= timezone.now().date():
|
||||
return True
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user