From 455612bf2e4d81321e038602f7b237bde00cc30b Mon Sep 17 00:00:00 2001 From: Hendrik L Date: Wed, 4 Dec 2024 11:22:27 +0100 Subject: [PATCH] add lock_post action --- app/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models.py b/app/models.py index 795e059f..c1ccd039 100644 --- a/app/models.py +++ b/app/models.py @@ -2285,6 +2285,8 @@ class ModLog(db.Model): 'undelete_user': _l('Restored account'), 'ban_user': _l('Banned account'), 'unban_user': _l('Un-banned account'), + 'lock_post': _l('Lock post'), + 'unlock_post': _l('Un-lock post'), } def action_to_str(self):