From f8c42ff9ed5a37fb57c98a0ab017c07c4455e2b3 Mon Sep 17 00:00:00 2001 From: e107steved Date: Wed, 22 Oct 2008 21:31:08 +0000 Subject: [PATCH] Bugtracker #4555 - remove redundant query --- e107_handlers/comment_class.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/e107_handlers/comment_class.php b/e107_handlers/comment_class.php index 2a6c285bf..df6ffaf97 100644 --- a/e107_handlers/comment_class.php +++ b/e107_handlers/comment_class.php @@ -12,8 +12,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_handlers/comment_class.php,v $ -| $Revision: 1.14 $ -| $Date: 2008-10-22 21:28:31 $ +| $Revision: 1.15 $ +| $Date: 2008-10-22 21:31:08 $ | $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -523,7 +523,8 @@ class comment { return; } - $count_comments = $this -> count_comments($table, $id, $pid=FALSE); +// Query no longer used +// $count_comments = $this -> count_comments($table, $id, $pid=FALSE); $type = $this -> getCommentType($table);