mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
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
This commit is contained in:
@@ -636,7 +636,6 @@ function compose_pm($id, $mode, $action)
|
||||
'filename_data' => $message_parser->filename_data,
|
||||
'address_list' => $address_list
|
||||
);
|
||||
unset($message_parser);
|
||||
|
||||
// ((!$message_subject) ? $subject : $message_subject)
|
||||
$msg_id = submit_pm($action, $subject, $pm_data);
|
||||
@@ -770,7 +769,6 @@ function compose_pm($id, $mode, $action)
|
||||
$attachment_data = $message_parser->attachment_data;
|
||||
$filename_data = $message_parser->filename_data;
|
||||
$message_text = $message_parser->message;
|
||||
unset($message_parser);
|
||||
|
||||
// MAIN PM PAGE BEGINS HERE
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user