1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 01:06:48 +02:00

- create log entries on (dis)approving and handling reports

git-svn-id: file:///svn/phpbb/trunk@7493 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Nils Adermann
2007-05-06 23:07:36 +00:00
parent 7caa3b02db
commit 27a0e285a0
3 changed files with 56 additions and 3 deletions

View File

@@ -513,6 +513,11 @@ function close_report($report_id_list, $mode, $action)
}
unset($close_report_posts, $close_report_topics);
foreach ($reports as $report)
{
add_log('mod', $post_info[$report['post_id']]['forum_id'], $post_info[$report['post_id']]['topic_id'], 'LOG_REPORT_' . strtoupper($action) . 'D', $post_info[$report['post_id']]['post_subject']);
}
$messenger = new messenger();
// Notify reporters