[Pkg-owncloud-commits] [php-sabredav] 115/275: Removed the ITipMessage. VObject provides this.

David Prévot taffit at moszumanska.debian.org
Thu Sep 25 14:55:58 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit 845a64d056a7cf7bcfacaaeaeee8ec7573e53525
Author: Evert Pot <me at evertpot.com>
Date:   Tue Jul 29 19:04:38 2014 -0400

    Removed the ITipMessage. VObject provides this.
---
 lib/CalDAV/Schedule/ITipMessage.php | 100 ------------------------------------
 1 file changed, 100 deletions(-)

diff --git a/lib/CalDAV/Schedule/ITipMessage.php b/lib/CalDAV/Schedule/ITipMessage.php
deleted file mode 100644
index 575f280..0000000
--- a/lib/CalDAV/Schedule/ITipMessage.php
+++ /dev/null
@@ -1,100 +0,0 @@
-<?php
-
-namespace Sabre\CalDAV\Schedule;
-
-/**
- * This class represents an ITipMessage.
- *
- * This object contains all the information about a scheduling operation. Who
- * sent it, where it should go to, etc...
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH. All rights reserved.
- * @author Evert Pot (http://evertpot.com/)
- * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
- */
-class ITipMessage {
-
-    /**
-     * The senders' email address.
-     *
-     * Note that this does not imply that this has to be used in a From: field
-     * if the message is sent by email. It may also be populated in Reply-To:
-     * or not at all.
-     *
-     * @var string
-     */
-    public $sender;
-
-    /**
-     * The name of the sender. This is often populated from a CN parameter from
-     * either the ORGANIZER or ATTENDEE, depending on the message.
-     *
-     * @var string|null
-     */
-    public $senderName;
-
-    /**
-     * The recipient's email address.
-     *
-     * @var string
-     */
-    public $recipient;
-
-    /**
-     * The name of the recipient. This is usually populated with the CN
-     * parameter from the ATTENDEE or ORGANIZER property, if it's available.
-     *
-     * @var string|null
-     */
-    public $recipientName;
-
-    /**
-     * The contents of the METHOD property on the iCalendar body.
-     *
-     * @var string
-     */
-    public $method;
-
-    /**
-     * After the message has been delivered, this should contain a string such
-     * as : 1.1;Sent or 1.2;Delivered.
-     *
-     * In case of a failure, this will hold the error status code.
-     *
-     * See:
-     * http://tools.ietf.org/html/rfc6638#section-7.3
-     *
-     * @var string
-     */
-    public $scheduleStatus;
-
-    /**
-     * The iCalendar / iTip body.
-     *
-     * @var \Sabre\VObject\Component\VCalendar
-     */
-    public $message;
-
-    /**
-     * This method is strictly for debugging. Allows us to pretty-print the
-     * contents of this message.
-     */
-    public function __toString() {
-
-        $sender = $this->senderName . ' <' . $this->sender . '>';
-        $recipient = $this->recipientName . ' <' . $this->recipient . '>';
-        $status = $this->scheduleStatus?:null;
-
-        return <<<HI
-Sender: $sender
-Recipient: $recipient
-Method: {$this->method}
-Status: $status
-
-
-HI
-        . $this->message->serialize();
-
-    }
-
-}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list