aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-06-03 22:19:41 +0000
committerNils Adermann <naderman@naderman.de>2006-06-03 22:19:41 +0000
commit6ba50e34d60441e3eaf6c9fe1bff95a902393c84 (patch)
treee9ba8f0c1c5ff596a41ca070a0a80e641efebc77 /phpBB/includes/mcp
parent9aa9cb4bb6d9ad21db25bf24e70ed35b92c0f1a9 (diff)
downloadforums-6ba50e34d60441e3eaf6c9fe1bff95a902393c84.tar
forums-6ba50e34d60441e3eaf6c9fe1bff95a902393c84.tar.gz
forums-6ba50e34d60441e3eaf6c9fe1bff95a902393c84.tar.bz2
forums-6ba50e34d60441e3eaf6c9fe1bff95a902393c84.tar.xz
forums-6ba50e34d60441e3eaf6c9fe1bff95a902393c84.zip
- 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
Diffstat (limited to 'phpBB/includes/mcp')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php5
1 files changed, 1 insertions, 4 deletions
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'])
{