PDA

View Full Version : help for unapprove_post function


carles
02-15-2008, 09:45 AM
Hi,

I need to use the unapprove_post function for a plugin:

function unapprove_post($postid, $countposts, $dolog = true, $postinfo = NULL, $threadinfo = NULL, $counterupdate = true)

The problem is that I don't know what the $countposts, $dolog and $counterupdate parameters do and the API doesn't explain it. Does anybody know it?

Thanks.

Dismounted
02-15-2008, 09:57 AM
Look inside the function and see what it does... :)

carles
02-15-2008, 10:10 AM
Yes, I did, but I not sure about what I think it does.

I think the $countposts is use to enable/disable the decrement the count number of posts inside a thread. I'm right?

And the $counterupdate parameter...