From 1aad78396d1e44d789d1fbbf3ea222dc74ca18ef Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 25 Jul 2021 04:25:39 +0200 Subject: [PATCH] df --- drama/classes/comment.py | 4 ---- drama/classes/submission.py | 8 -------- 2 files changed, 12 deletions(-) diff --git a/drama/classes/comment.py b/drama/classes/comment.py index 651db176f..8f16e87d4 100644 --- a/drama/classes/comment.py +++ b/drama/classes/comment.py @@ -345,10 +345,6 @@ class Comment(Base, Age_times, Scores, Stndrd, Fuzzing): x = 0 return x - @property - def title(self): - return self.__dict__.get("_title", self.author.title) - @property def is_blocking(self): return self.__dict__.get('_is_blocking', 0) diff --git a/drama/classes/submission.py b/drama/classes/submission.py index 28702038a..d22f25b25 100644 --- a/drama/classes/submission.py +++ b/drama/classes/submission.py @@ -498,10 +498,6 @@ class Submission(Base, Stndrd, Age_times, Scores, Fuzzing): self.submission_aux.meta_description=x g.db.add(self.submission_aux) - @property - def is_blocking_guild(self): - return self.__dict__.get('_is_blocking_guild', False) - @property def is_blocked(self): return self.__dict__.get('_is_blocked', False) @@ -510,10 +506,6 @@ class Submission(Base, Stndrd, Age_times, Scores, Fuzzing): def is_blocking(self): return self.__dict__.get('_is_blocking', False) - @property - def is_subscribed(self): - return self.__dict__.get('_is_subscribed', False) - @property def is_public(self): return self.post_public or not self.board.is_private