forked from MarseyWorld/MarseyWorld
exclude me from modaction notifs on all sites
parent
9dac94cf8e
commit
b033b518b8
|
@ -440,7 +440,7 @@ class User(Base):
|
||||||
@property
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
def modaction_num(self):
|
def modaction_num(self):
|
||||||
if self.admin_level < 2 or (self.id == AEVANN_ID and SITE_NAME != 'rDrama'): return 0
|
if self.admin_level < 2 or self.id == AEVANN_ID: return 0
|
||||||
return g.db.query(ModAction).filter_by(user_id=self.id).count()
|
return g.db.query(ModAction).filter_by(user_id=self.id).count()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in New Issue