diff --git a/e107_plugins/poll/oldpolls.php b/e107_plugins/poll/oldpolls.php index 59d0b4800..3a9aebd6e 100644 --- a/e107_plugins/poll/oldpolls.php +++ b/e107_plugins/poll/oldpolls.php @@ -82,23 +82,7 @@ if(e_QUERY) } */ - $query = "SELECT c.*, u.* FROM #comments AS c - LEFT JOIN #user AS u ON c.comment_author_id = u.user_id - WHERE comment_item_id=".intval($row['poll_id'])." AND comment_type='4' ORDER BY comment_datestamp"; - - if ($comment_total = $sql->gen($query)) - { - $text .= "