Forums module's DeletePost function
Hey guys,
I got a question about the 'DeletePost' function of Forums module.
When I try to delete a post from a thread and 'Post.DeletePost(int id)' method is called, I noticed that the method does not actually remove the cache of its parent thread. In this case, I suppose the thread list remains the same after a post of it get removed from it since the cache is not purged.
So how come the page still gets updated successfully even when the 'GetThreadByID' method returns the cached records?
|