API docs     >     General     >     Comments

Comments->setSpam

Description

setSpam ( $commentId = 0 )
Marks a specific Comment as spam

Parameters

$commentId
int

Returns

int
ERROR_NONE on success or ERROR_COMMENTS_NO_MOD_RIGHTS