From 49235d6ed5dd4cac42ddcc3cab75b05f976c5d13 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 8 Jun 2008 10:39:44 +0000 Subject: not unsetting message_parser - a mod or site may want to re-use it. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8620 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'phpBB/posting.php') diff --git a/phpBB/posting.php b/phpBB/posting.php index dfe7b348a7..4769c1f592 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -998,8 +998,6 @@ if ($submit || $preview || $refresh) $data['topic_replies'] = $post_data['topic_replies']; } - unset($message_parser); - $redirect_url = submit_post($mode, $post_data['post_subject'], $post_data['username'], $post_data['topic_type'], $poll, $data, $update_message); $post_need_approval = (!$auth->acl_get('f_noapprove', $data['forum_id']) && !$auth->acl_get('m_approve', $data['forum_id'])) ? true : false; @@ -1155,7 +1153,6 @@ if (sizeof($post_data['poll_options']) && $post_data['poll_title']) $message_parser->decode_message(); $post_data['poll_options'] = explode("\n", $message_parser->message); } -unset($message_parser); // MAIN POSTING PAGE BEGINS HERE -- cgit v1.2.1