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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user