Aevann 2024-11-16 14:14:03 +02:00
parent 5d3d87188d
commit 071279f936
1 changed files with 2 additions and 2 deletions

View File

@ -1369,8 +1369,8 @@ class User(Base):
if self.can_see_restricted_holes != None: if self.can_see_restricted_holes != None:
return self.can_see_restricted_holes return self.can_see_restricted_holes
one_month_ago = time.time() - 2592000 two_weeks_ago = time.time() - 1209600
if self.truescore >= TRUESCORE_MINIMUM and self.created_utc < one_month_ago: if self.truescore >= TRUESCORE_MINIMUM and self.created_utc < two_weeks_ago:
return True return True
return False return False