Closed (works as designed)
Project:
Fasttoggle
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2011 at 21:53 UTC
Updated:
17 Mar 2014 at 11:30 UTC
Jump to comment: Most recent
Comments
Comment #1
nigelcunningham commentedThanks for the hint.
5.x is now unmaintained, so I'll change the version to 6.x so that I remember to do this when I next work on the issue queue.
Comment #2
Romka commentedreplace string comment_save($comment); in function fasttoggle_comment_option() with $result = db_query('update {comments} set status = %d where cid = %d', $comment->$option, $comment->cid);.
I think it's not good approach, because comment_save function makes several important actions such as calling hook_comment and recalculation node comments counter.
Comment #3
nigelcunningham commentedThat's a good point, Romka.
ankheg, is there anything you can do in other ways (indexing, caching...)?
Comment #4
nigelcunningham commented