API docs     >     General     >     Comments

Comments->setUnapproved

Description

setUnapproved ( $commentId = 0 )
Sets the status of a specific Comment to "unapproved"

Parameters

$commentId
int

Returns

int
ERROR_NONE on success or ERROR_COMMENTS_NO_MOD_RIGHTS