diff options
Diffstat (limited to '3rdparty/Sabre/CalDAV/Schedule/IMip.php')
-rwxr-xr-x | 3rdparty/Sabre/CalDAV/Schedule/IMip.php | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/3rdparty/Sabre/CalDAV/Schedule/IMip.php b/3rdparty/Sabre/CalDAV/Schedule/IMip.php index 92c3c097c15..37e75fcc4a7 100755 --- a/3rdparty/Sabre/CalDAV/Schedule/IMip.php +++ b/3rdparty/Sabre/CalDAV/Schedule/IMip.php @@ -1,7 +1,5 @@ <?php -use Sabre\VObject; - /** * iMIP handler. * @@ -44,13 +42,12 @@ class Sabre_CalDAV_Schedule_IMip { /** * Sends one or more iTip messages through email. * - * @param string $originator Originator Email - * @param array $recipients Array of email addresses - * @param Sabre\VObject\Component $vObject - * @param string $principal Principal Url of the originator + * @param string $originator + * @param array $recipients + * @param Sabre_VObject_Component $vObject * @return void */ - public function sendMessage($originator, array $recipients, VObject\Component $vObject, $principal) { + public function sendMessage($originator, array $recipients, Sabre_VObject_Component $vObject) { foreach($recipients as $recipient) { @@ -86,9 +83,6 @@ class Sabre_CalDAV_Schedule_IMip { } - // @codeCoverageIgnoreStart - // This is deemed untestable in a reasonable manner - /** * This function is reponsible for sending the actual email. * @@ -100,11 +94,11 @@ class Sabre_CalDAV_Schedule_IMip { */ protected function mail($to, $subject, $body, array $headers) { - mail($to, $subject, $body, implode("\r\n", $headers)); } - // @codeCoverageIgnoreEnd } + +?> |