1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00

Bugtracker #4555 - remove redundant query

This commit is contained in:
e107steved
2008-10-22 21:31:08 +00:00
parent 23535eb37d
commit f8c42ff9ed

View File

@@ -12,8 +12,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_handlers/comment_class.php,v $ | $Source: /cvs_backup/e107_0.8/e107_handlers/comment_class.php,v $
| $Revision: 1.14 $ | $Revision: 1.15 $
| $Date: 2008-10-22 21:28:31 $ | $Date: 2008-10-22 21:31:08 $
| $Author: e107steved $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -523,7 +523,8 @@ class comment {
return; 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); $type = $this -> getCommentType($table);