From 995b5365cc154d25866e0279d0b99f02beff86c1 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 30 Jan 2023 11:39:12 +0200 Subject: [PATCH] Revert "give me modaction notifs on WPD" This reverts commit 61056404299f2760ef359dcfd4cb4e801cb1b808. --- files/classes/user.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/classes/user.py b/files/classes/user.py index 4a0a25c6f..d47942518 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -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,