viewfinder
Member
When listening to XenForo_DataWriter_DiscussionMessage_Post, what is the right way to tell if it is saving a draft? I am seeing multiple XenForo_DataWriter_DiscussionMessage_Post events for a post, presumably it relates to draft?
The intention is to monitor the save() method and do additional stuff related to the post, but only if it is the final save that commits the post.
Any help and suggestion would be much appreciated. Thanks.
The intention is to monitor the save() method and do additional stuff related to the post, but only if it is the final save that commits the post.
Any help and suggestion would be much appreciated. Thanks.