API docs     >     General     >     Comments

Comments->remove

Description

remove ( $objectId = 0, $commentId = 0 )
Removes a specific Comment

Parameters

$objectId
int
Object Id
$commentId
int

Returns

int
ERROR_NONE on success or ERROR_COMMENTS_NO_MOD_RIGHTS