diff --git a/files/routes/front.py b/files/routes/front.py index 093248b1b..e33a7eb23 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -104,16 +104,6 @@ def notifications(v): print("1: " + str(time.time() - t), flush=True) - all = g.db.query(Comment).join(Notification).filter( - Notification.user_id == v.id, - Comment.is_banned == False, - Comment.deleted_utc == 0, - Comment.author_id != AUTOJANNY_ID, - Comment.body_html.notlike('