API docs     >     General     >     Comments

Comments->setApproved

Description

setApproved ( $commentId = 0 )
Sets the status of a specific Comment to "approved"

Parameters

$commentId
int

Returns

int
ERROR_NONE on success or ERROR_COMMENTS_NO_MOD_RIGHTS