forked from rDrama/rDrama
show me modaction notifs
parent
599fb42080
commit
683b7751bc
|
@ -643,8 +643,6 @@ class User(Base):
|
||||||
@property
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
def modaction_notifications_count(self):
|
def modaction_notifications_count(self):
|
||||||
if self.id == AEVANN_ID: return 0
|
|
||||||
|
|
||||||
if self.admin_level:
|
if self.admin_level:
|
||||||
q = g.db.query(ModAction).filter(
|
q = g.db.query(ModAction).filter(
|
||||||
ModAction.created_utc > self.last_viewed_log_notifs,
|
ModAction.created_utc > self.last_viewed_log_notifs,
|
||||||
|
|
Loading…
Reference in New Issue