Remove special cases based on SITE

This commit is contained in:
iro84657 2022-05-09 01:31:28 -04:00
parent 71743a3bfc
commit 4341e2d980
5 changed files with 35 additions and 197 deletions

View file

@ -451,7 +451,6 @@ class Submission(Base):
def realtitle(self, v):
if self.club and not (v and (v.paid_dues or v.id == self.author_id)):
if v: return random.choice(TROLLTITLES).format(username=v.username)
elif SITE == 'cringetopia.org': return f'Please make an account to see this post'
else: return f'{CC} MEMBERS ONLY'
elif self.title_html: title = self.title_html
else: title = self.title