remotes/1693045480750635534/spooky-22
Aevann1 2021-09-19 21:54:28 +02:00
parent 60950a9288
commit 4a9638d055
3 changed files with 0 additions and 11 deletions

View File

@ -309,7 +309,6 @@ class Comment(Base):
return self.__dict__.get('_is_blocked', 0)
@property
@lazy
def body(self):
if self.comment_aux: return self.comment_aux.body
else: return ""
@ -320,7 +319,6 @@ class Comment(Base):
g.db.add(self.comment_aux)
@property
@lazy
def body_html(self):
return self.comment_aux.body_html
@ -355,7 +353,6 @@ class Comment(Base):
return body
@property
@lazy
def ban_reason(self):
return self.comment_aux.ban_reason

View File

@ -70,7 +70,6 @@ class ModAction(Base):
@property
@lazy
def note(self):
if self.kind=="ban_user":

View File

@ -366,7 +366,6 @@ class Submission(Base):
return len([x for x in self.awards if x.kind == kind])
@property
@lazy
def title(self):
return self.submission_aux.title
@ -376,7 +375,6 @@ class Submission(Base):
g.db.add(self.submission_aux)
@property
@lazy
def url(self):
return self.submission_aux.url
@ -401,7 +399,6 @@ class Submission(Base):
else: return ""
@property
@lazy
def body(self):
return self.submission_aux.body
@ -411,7 +408,6 @@ class Submission(Base):
g.db.add(self.submission_aux)
@property
@lazy
def body_html(self):
return self.submission_aux.body_html
@ -433,7 +429,6 @@ class Submission(Base):
return body
@property
@lazy
def title_html(self):
return self.submission_aux.title_html
@ -453,7 +448,6 @@ class Submission(Base):
return title
@property
@lazy
def ban_reason(self):
return self.submission_aux.ban_reason
@ -463,7 +457,6 @@ class Submission(Base):
g.db.add(self.submission_aux)
@property
@lazy
def embed_url(self):
return self.submission_aux.embed_url