[Pkg-owncloud-commits] [php-sabredav] 90/275: getCalendarByObjectUID is now part of the standard interface.

David Prévot taffit at moszumanska.debian.org
Thu Sep 25 14:55:55 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 c5cb862863c40704f081b2ef5bcb75b8dad43279
Author: Evert Pot <me at evertpot.com>
Date:   Wed Jul 16 01:03:43 2014 -0400

    getCalendarByObjectUID is now part of the standard interface.
---
 lib/CalDAV/Backend/BackendInterface.php  | 16 ++++++++++++++++
 lib/CalDAV/Backend/SchedulingSupport.php | 16 ----------------
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/lib/CalDAV/Backend/BackendInterface.php b/lib/CalDAV/Backend/BackendInterface.php
index e6ee67f..3a2156a 100644
--- a/lib/CalDAV/Backend/BackendInterface.php
+++ b/lib/CalDAV/Backend/BackendInterface.php
@@ -243,4 +243,20 @@ interface BackendInterface {
      */
     public function calendarQuery($calendarId, array $filters);
 
+    /**
+     * Searches through all of a users calendars and calendar objects to find
+     * an object with a specific UID.
+     *
+     * The returned data should contain all the information getCalendarObject
+     * also returns, but also include a 'calendarUri' property. This property
+     * should *just* be the basename of the calendar.
+     *
+     * Return false if the object cannot be found.
+     *
+     * @param string $principalUri
+     * @param string $uid
+     * @return array|bool
+     */
+    public function getCalendarObjectByUID($principalUri, $uid);
+
 }
diff --git a/lib/CalDAV/Backend/SchedulingSupport.php b/lib/CalDAV/Backend/SchedulingSupport.php
index d4aca5b..dcb60dd 100644
--- a/lib/CalDAV/Backend/SchedulingSupport.php
+++ b/lib/CalDAV/Backend/SchedulingSupport.php
@@ -62,20 +62,4 @@ interface SchedulingSupport extends BackendInterface {
      */
     public function createSchedulingObject($principalUri, $objectUri, $objectData);
 
-    /**
-     * Searches through all of a users calendars and calendar objects to find
-     * an object with a specific UID.
-     *
-     * The returned data should contain all the information getCalendarObject
-     * also returns, but also include a 'calendarUri' property. This property
-     * should *just* be the basename of the calendar.
-     *
-     * Return false if the object cannot be found.
-     *
-     * @param string $principalUri
-     * @param string $uid
-     * @return array|bool
-     */
-    public function getCalendarObjectByUID($principalUri, $uid);
-
 }

-- 
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