From 0df33c86a475adee37f9c6e7f9a17af15e1ddabb Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 22 Sep 2022 20:23:18 +0200 Subject: [PATCH] remove unnecessary deprected behavior in /distribute --- files/routes/admin.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 072251672..0d580e6e4 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -235,10 +235,6 @@ def distribute(v, option_id): losing_voters.extend([x.user_id for x in o.votes]) for uid in losing_voters: add_notif(cid, uid) - - - post.body += '\n\nclosed' - g.db.add(post) ma = ModAction( kind="distribute",