summaryrefslogtreecommitdiffstats
path: root/3rdparty/Sabre/CalDAV/Schedule
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/Sabre/CalDAV/Schedule')
-rwxr-xr-x3rdparty/Sabre/CalDAV/Schedule/IMip.php18
-rwxr-xr-x3rdparty/Sabre/CalDAV/Schedule/Outbox.php10
2 files changed, 7 insertions, 21 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
}
+
+?>
diff --git a/3rdparty/Sabre/CalDAV/Schedule/Outbox.php b/3rdparty/Sabre/CalDAV/Schedule/Outbox.php
index 462aa527e23..014c37230d1 100755
--- a/3rdparty/Sabre/CalDAV/Schedule/Outbox.php
+++ b/3rdparty/Sabre/CalDAV/Schedule/Outbox.php
@@ -13,7 +13,7 @@
* @author Evert Pot (http://www.rooftopsolutions.nl/)
* @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
*/
-class Sabre_CalDAV_Schedule_Outbox extends Sabre_DAV_Collection implements Sabre_CalDAV_Schedule_IOutbox {
+class Sabre_CalDAV_Schedule_Outbox extends Sabre_DAV_Directory implements Sabre_CalDAV_Schedule_IOutbox {
/**
* The principal Uri
@@ -104,11 +104,6 @@ class Sabre_CalDAV_Schedule_Outbox extends Sabre_DAV_Collection implements Sabre
'protected' => true,
),
array(
- 'privilege' => '{' . Sabre_CalDAV_Plugin::NS_CALDAV . '}schedule-post-vevent',
- 'principal' => $this->getOwner(),
- 'protected' => true,
- ),
- array(
'privilege' => '{DAV:}read',
'principal' => $this->getOwner(),
'protected' => true,
@@ -149,9 +144,6 @@ class Sabre_CalDAV_Schedule_Outbox extends Sabre_DAV_Collection implements Sabre
$default['aggregates'][] = array(
'privilege' => '{' . Sabre_CalDAV_Plugin::NS_CALDAV . '}schedule-query-freebusy',
);
- $default['aggregates'][] = array(
- 'privilege' => '{' . Sabre_CalDAV_Plugin::NS_CALDAV . '}schedule-post-vevent',
- );
return $default;