aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_main.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2004-11-06 14:22:04 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2004-11-06 14:22:04 +0000
commit541a04972584cb95b349fe182e164c9629d5f360 (patch)
treeb1088ab098cbda085ac2e47b68f156f1294c7a77 /phpBB/includes/mcp/mcp_main.php
parent836771cfb872215c9fa43c91f532382006ad25bf (diff)
downloadforums-541a04972584cb95b349fe182e164c9629d5f360.tar
forums-541a04972584cb95b349fe182e164c9629d5f360.tar.gz
forums-541a04972584cb95b349fe182e164c9629d5f360.tar.bz2
forums-541a04972584cb95b349fe182e164c9629d5f360.tar.xz
forums-541a04972584cb95b349fe182e164c9629d5f360.zip
- a bunch of updates, most of them bbcode related
git-svn-id: file:///svn/phpbb/trunk@5023 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/mcp_main.php')
-rw-r--r--phpBB/includes/mcp/mcp_main.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php
index 93a430048f..44e6b5acd6 100644
--- a/phpBB/includes/mcp/mcp_main.php
+++ b/phpBB/includes/mcp/mcp_main.php
@@ -379,8 +379,8 @@ function change_topic_type($mode, $topic_ids)
// Move Topic
function mcp_move_topic($topic_ids)
{
- global $auth, $user, $db, $SID, $phpEx, $phpbb_root_path, $template;
- global $_POST, $_REQUEST;
+ global $auth, $user, $db, $template;
+ global $SID, $phpEx, $phpbb_root_path;
if (!($forum_id = check_ids($topic_ids, TOPICS_TABLE, 'topic_id', 'm_move')))
{
@@ -481,10 +481,10 @@ function mcp_move_topic($topic_ids)
);
$db->sql_query('INSERT INTO ' . TOPICS_TABLE . $db->sql_build_array('INSERT', $shadow));
- $next_id = $db->sql_nextid();
-
+
+ // $next_id = $db->sql_nextid();
// Mark Shadow topic read
- markread('topic', $row['forum_id'], $next_id);
+ // markread('topic', $row['forum_id'], $next_id);
}
}
unset($topic_data);
@@ -693,8 +693,8 @@ function mcp_delete_post($post_ids)
// Fork Topic
function mcp_fork_topic($topic_ids)
{
- global $auth, $user, $db, $SID, $phpEx, $phpbb_root_path, $template, $config;
- global $_POST, $_REQUEST;
+ global $auth, $user, $db, $template, $config;
+ global $SID, $phpEx, $phpbb_root_path;
if (!($forum_id = check_ids($topic_ids, TOPICS_TABLE, 'topic_id', 'm_')))
{