From e7e5666aecce9c5a6e1fb99455f32e92d7ebd1bc Mon Sep 17 00:00:00 2001 From: PheRum Date: Wed, 13 May 2015 03:22:56 +0300 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=BF=D0=BE=D0=B4=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B9=20=D1=81=D1=82=D0=B0=D1=80=D0=BE=D0=B3=D0=BE=20?= =?UTF-8?q?=D0=B0=D1=82=D1=82=D0=B0=D1=87=20=D0=BC=D0=BE=D0=B4=D0=B0=20?= =?UTF-8?q?=D0=B2=20=D1=82=D0=BE=D0=BF=D0=B8=D0=BA=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- viewtopic.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/viewtopic.php b/viewtopic.php index 54d50e466..c160811b4 100644 --- a/viewtopic.php +++ b/viewtopic.php @@ -527,12 +527,6 @@ $template->assign_vars(array( )); 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 // @@ -743,11 +737,6 @@ for($i = 0; $i < $total_posts; $i++) '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_GUEST)