parent
d2004e74c7
commit
995b5365cc
|
@ -643,6 +643,8 @@ class User(Base):
|
||||||
@property
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
def modaction_notifications_count(self):
|
def modaction_notifications_count(self):
|
||||||
|
if self.id == AEVANN_ID and SITE_NAME != 'rDrama': 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