aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_main.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2008-09-26 18:29:20 +0000
committerChris Smith <toonarmy@phpbb.com>2008-09-26 18:29:20 +0000
commit7e0ae65c680738b5c754cd78a5189ba1f1162026 (patch)
treec2903dae10d795e5e6c4e6fb5c7ce79484ec7723 /phpBB/includes/mcp/mcp_main.php
parent3b42ffcc9e44e8b6e8c5c7233de9273e8cb374f6 (diff)
downloadforums-7e0ae65c680738b5c754cd78a5189ba1f1162026.tar
forums-7e0ae65c680738b5c754cd78a5189ba1f1162026.tar.gz
forums-7e0ae65c680738b5c754cd78a5189ba1f1162026.tar.bz2
forums-7e0ae65c680738b5c754cd78a5189ba1f1162026.tar.xz
forums-7e0ae65c680738b5c754cd78a5189ba1f1162026.zip
* Use a distinct log message for shadow topic deletions to differentiate between normal topic deletions. #34635
* Fix a small typo in r8942 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8945 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/mcp_main.php')
-rw-r--r--phpBB/includes/mcp/mcp_main.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php
index 07ec84f0de..7d871800f2 100644
--- a/phpBB/includes/mcp/mcp_main.php
+++ b/phpBB/includes/mcp/mcp_main.php
@@ -781,7 +781,7 @@ function mcp_delete_topic($topic_ids)
foreach ($data as $topic_id => $row)
{
- add_log('mod', $row['forum_id'], $topic_id, 'LOG_DELETED_TOPIC', $row['topic_title']);
+ add_log('mod', $row['forum_id'], $topic_id, 'LOG_DELETE_' . ($row['topic_moved_id'] ? 'SHADOW_' : '') . 'TOPIC', $row['topic_title']);
}
$return = delete_topics('topic_id', $topic_ids);