diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-06-08 10:39:44 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-06-08 10:39:44 +0000 |
commit | 49235d6ed5dd4cac42ddcc3cab75b05f976c5d13 (patch) | |
tree | d197c75934d95992b2fd2dff8ab3e3b8e6a150d0 /phpBB/posting.php | |
parent | ae2b448833d885a67256cce20e11250cfb87e6c6 (diff) | |
download | forums-49235d6ed5dd4cac42ddcc3cab75b05f976c5d13.tar forums-49235d6ed5dd4cac42ddcc3cab75b05f976c5d13.tar.gz forums-49235d6ed5dd4cac42ddcc3cab75b05f976c5d13.tar.bz2 forums-49235d6ed5dd4cac42ddcc3cab75b05f976c5d13.tar.xz forums-49235d6ed5dd4cac42ddcc3cab75b05f976c5d13.zip |
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
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r-- | phpBB/posting.php | 3 |
1 files changed, 0 insertions, 3 deletions
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 |