From 6ba50e34d60441e3eaf6c9fe1bff95a902393c84 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Sat, 3 Jun 2006 22:19:41 +0000 Subject: - 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 --- phpBB/includes/mcp/mcp_queue.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'phpBB/includes/mcp/mcp_queue.php') diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index c202637092..94f6ffe35a 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -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']) { -- cgit v1.2.1