Feature request #711194 by soxofaan: Flush the page cache of a node when a logged in user comments on the node. Added a setting whether page cache shall be flushed on comments.
Issue #546602 was not fixed in commit #251540. Dont check user ID of logged in user, but user ID of form array/comment object. Cast uid to int before checking for identity.
#546602 by yaph: clear cache entry of node when comment is published via comment approval queue. Remove unnecessary check whether user has access to post comments without approval as comment status is not affected by the module actions.