From b4a2096ed0f7d6dd3141b7cb7efeb6ffe5021c3d Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Mon, 28 Jul 2025 19:58:24 +0300 Subject: [PATCH] feat(log action): Show `torrent delete` action --- library/language/source/main.php | 1 + src/Legacy/LogAction.php | 1 + 2 files changed, 2 insertions(+) diff --git a/library/language/source/main.php b/library/language/source/main.php index 9d60fa04b..ffc0e2091 100644 --- a/library/language/source/main.php +++ b/library/language/source/main.php @@ -2824,6 +2824,7 @@ $lang['LOG_ACTION']['LOG_TYPE'] = [ 'mod_topic_change_tor_type' => 'Topic:
changed torrent type', 'mod_topic_tor_unregister' => 'Topic:
torrent unregistered', 'mod_topic_tor_register' => 'Topic:
torrent registered', + 'mod_topic_tor_delete' => 'Topic:
torrent deleted', 'mod_topic_renamed' => 'Topic:
renamed', 'mod_post_delete' => 'Post:
deleted', 'mod_post_pin' => 'Post:
pinned', diff --git a/src/Legacy/LogAction.php b/src/Legacy/LogAction.php index 2846d771c..e4af99bb7 100644 --- a/src/Legacy/LogAction.php +++ b/src/Legacy/LogAction.php @@ -34,6 +34,7 @@ class LogAction 'mod_topic_change_tor_type' => 16, 'mod_topic_tor_unregister' => 17, 'mod_topic_tor_register' => 18, + 'mod_topic_tor_delete' => 19, ]; public $log_type_select = []; public $log_disabled = false;