parent
d2004e74c7
commit
995b5365cc
|
@ -643,6 +643,8 @@ class User(Base):
|
|||
@property
|
||||
@lazy
|
||||
def modaction_notifications_count(self):
|
||||
if self.id == AEVANN_ID and SITE_NAME != 'rDrama': return 0
|
||||
|
||||
if self.admin_level:
|
||||
q = g.db.query(ModAction).filter(
|
||||
ModAction.created_utc > self.last_viewed_log_notifs,
|
||||
|
|
Loading…
Reference in New Issue