удаление подключений старого аттач мода в топике

This commit is contained in:
PheRum 2015-05-13 03:22:56 +03:00
commit e7e5666aec

View file

@ -527,12 +527,6 @@ $template->assign_vars(array(
)); ));
require(INC_DIR .'torrent_show_dl_list.php'); require(INC_DIR .'torrent_show_dl_list.php');
if ($t_data['topic_attachment'])
{
require(INC_DIR .'old_attachment.php');
init_display_post_attachments($t_data['topic_attachment']);
}
// //
// Update the topic view counter // Update the topic view counter
// //
@ -743,11 +737,6 @@ for($i = 0; $i < $total_posts; $i++)
'RG_SIG_ATTACH' => $postrow[$i]['attach_rg_sig'], 'RG_SIG_ATTACH' => $postrow[$i]['attach_rg_sig'],
)); ));
if ($postrow[$i]['post_attachment'] && $is_auth['auth_download'] && function_exists('display_post_attachments'))
{
display_post_attachments($post_id, $postrow[$i]['post_attachment']);
}
if ($is_first_post && $t_data['attach_ext_id']) if ($is_first_post && $t_data['attach_ext_id'])
{ {
if (IS_GUEST) if (IS_GUEST)