This commit is contained in:
Roman Kelesidis 2025-08-20 15:56:05 +03:00
commit 6527a69b94
No known key found for this signature in database
GPG key ID: D8157C4D4C4C6DB4
4 changed files with 5 additions and 4 deletions

View file

@ -236,7 +236,7 @@ if ($log_rowset) {
case $log_type['mod_post_unpin']:
case $log_type['mod_topic_split']:
case $log_type['mod_topic_poll_started']:
case $log_type['mod_topic_poll_finish']:
case $log_type['mod_topic_poll_finished']:
case $log_type['mod_topic_poll_deleted']:
case $log_type['mod_topic_poll_added']:
case $log_type['mod_topic_poll_edited']:

View file

@ -2836,7 +2836,8 @@ $lang['LOG_ACTION']['LOG_TYPE'] = [
'mod_topic_tor_register' => 'Topic:<br /> <b>torrent registered</b>',
'mod_topic_tor_delete' => 'Topic:<br /> <b>torrent deleted</b>',
'mod_topic_renamed' => 'Topic:<br /> <b>renamed</b>',
''
'mod_topic_poll_started' => 'Topic:<br /> <b>poll started</b>',
'mod_topic_poll_finished' => 'Topic:<br /> <b>poll finished</b>',
'mod_post_delete' => 'Post:<br /> <b>deleted</b>',
'mod_post_pin' => 'Post:<br /> <b>pinned</b>',
'mod_post_unpin' => 'Post:<br /> <b>unpinned</b>',

View file

@ -121,7 +121,7 @@ switch ($mode) {
}
// Log action
$log_action->mod('mod_topic_poll_finish', [
$log_action->mod('mod_topic_poll_finished', [
'forum_id' => $forum_id,
'topic_id' => $topic_id,
'topic_title' => $t_data['topic_title'],

View file

@ -36,7 +36,7 @@ class LogAction
'mod_topic_tor_register' => 18,
'mod_topic_tor_delete' => 19,
'mod_topic_poll_started' => 20,
'mod_topic_poll_finish' => 21,
'mod_topic_poll_finished' => 21,
'mod_topic_poll_deleted' => 22,
'mod_topic_poll_added' => 23,
'mod_topic_poll_edited' => 24