add lock_post action

This commit is contained in:
Hendrik L 2024-12-04 11:22:27 +01:00
parent 23a6b2673e
commit 455612bf2e

View file

@ -2285,6 +2285,8 @@ class ModLog(db.Model):
'undelete_user': _l('Restored account'), 'undelete_user': _l('Restored account'),
'ban_user': _l('Banned account'), 'ban_user': _l('Banned account'),
'unban_user': _l('Un-banned account'), 'unban_user': _l('Un-banned account'),
'lock_post': _l('Lock post'),
'unlock_post': _l('Un-lock post'),
} }
def action_to_str(self): def action_to_str(self):