diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-10-13 22:29:57 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-10-13 22:29:57 +0200 |
commit | dcfbbf3db7761b88b8ca801454e90e738a98ec14 (patch) | |
tree | 0bf552446046fd65238f11ed5bd05e04a1d228ba /3rdparty/Sabre/CalDAV/Schedule/IMip.php | |
parent | 183cc22501b75ab8819971f70b88dbc010026ac1 (diff) | |
download | nextcloud-server-dcfbbf3db7761b88b8ca801454e90e738a98ec14.tar.gz nextcloud-server-dcfbbf3db7761b88b8ca801454e90e738a98ec14.zip |
Revert "Update SabreDAV to 1.7.1"
This reverts commit 183cc22501b75ab8819971f70b88dbc010026ac1.
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 } + +?> |