mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Updated
This commit is contained in:
parent
67447ed9f2
commit
6527a69b94
4 changed files with 5 additions and 4 deletions
|
@ -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']:
|
||||
|
|
|
@ -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>',
|
||||
|
|
2
poll.php
2
poll.php
|
@ -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'],
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue