Exemplo n.º 1
0
 function execute(Account $account, Message $message)
 {
     $body = $message->getHtmlBody();
     $body = $account->parseBody($body, false);
     $commentslib = TikiLib::lib('comments');
     $message_id = '';
     // By ref
     $threadId = $commentslib->post_new_comment("{$this->type}:{$this->object}", 0, $message->getAssociatedUser(), $message->getSubject(), $body['body'], $message_id, '', 'n', '', '', '', '', '', '', '');
     return true;
 }