mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 08:17:47 +02:00
- removed useless code from style.php
- added a view template cache mode to acp_styles - syntax highlighting for the acp css - completed refresh actions for themes and templates - fixed theme and template installation - use a function for generating database theme data - removed useless code from mcp_queue.php we might need to do some more tests of acp_styles with safe_mode on git-svn-id: file:///svn/phpbb/trunk@6007 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -367,10 +367,7 @@ function approve_post($post_id_list, $mode)
|
||||
$topic_id_list[$post_data['topic_id']] = 1;
|
||||
|
||||
// Topic or Post. ;)
|
||||
/**
|
||||
* @todo What happens if a user posts a new topic which is not approved, then a second user replies and the post is automatically approved ;)
|
||||
*/
|
||||
if ($post_data['topic_first_post_id'] == $post_id/* && $post_data['topic_last_post_id'] == $post_id*/)
|
||||
if ($post_data['topic_first_post_id'] == $post_id)
|
||||
{
|
||||
if ($post_data['forum_id'])
|
||||
{
|
||||
|
Reference in New Issue
Block a user