Changed the method postMessage of controller Message, now it works even

without recipients
This commit is contained in:
paolo
2016-06-29 10:45:32 +02:00
parent 73c36d8520
commit 94ae62ca14
2 changed files with 24 additions and 16 deletions
@@ -75,7 +75,6 @@ class Message extends APIv1_Controller
if (is_object($validation) && $validation->error == EXIT_SUCCESS)
{
$this->messagelib->addRecipient($this->post()['person_id']);
$result = $this->messagelib->sendMessage(
$this->post()['person_id'],
$this->post()['subject'],