Remove vestigial user ID special cases.
This commit is contained in:
parent
010c56a35e
commit
9de6f20dea
13 changed files with 11 additions and 94 deletions
|
@ -202,7 +202,7 @@ class User(Base):
|
|||
|
||||
@lazy
|
||||
def mod_date(self, sub):
|
||||
if self.id == AEVANN_ID: return 1
|
||||
if self.id == OWNER_ID: return 1
|
||||
mod = g.db.query(Mod).filter_by(user_id=self.id, sub=sub).one_or_none()
|
||||
if not mod: return None
|
||||
return mod.created_utc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue