示例#1
0
 /**
  * Set the deleted status as deleted for the message in parameter
  *
  * @param int $messageId message identification
  * @param int $userId user identification
  * if it not defined it use current user id
  */
 public function moveMessageToTrashBox($messageId, $userId = NULL)
 {
     $message = new ReceivedMessage($messageId, $userId);
     $message->moveToTrashBox();
 }