Revert "give me modaction notifs on WPD"

This reverts commit 6105640429.
pull/106/head
Aevann 2023-01-30 11:39:12 +02:00
parent d2004e74c7
commit 995b5365cc
1 changed files with 2 additions and 0 deletions

View File

@ -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,