[Pkg-owncloud-commits] [php-sabredav] 36/220: Removed unused stuff.

David Prévot taffit at moszumanska.debian.org
Thu May 12 01:21:04 UTC 2016


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

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

commit f6891ce58793a0cfe8b35c664ea0b40775592c87
Author: Evert Pot <me at evertpot.com>
Date:   Thu Oct 22 22:35:10 2015 -0400

    Removed unused stuff.
---
 lib/CalDAV/SharingPlugin.php | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/lib/CalDAV/SharingPlugin.php b/lib/CalDAV/SharingPlugin.php
index 97f951e..689ac51 100644
--- a/lib/CalDAV/SharingPlugin.php
+++ b/lib/CalDAV/SharingPlugin.php
@@ -117,21 +117,8 @@ class SharingPlugin extends DAV\ServerPlugin {
      */
     function propFindEarly(DAV\PropFind $propFind, DAV\INode $node) {
 
-        if ($node instanceof IShareableCalendar) {
-
-            $propFind->handle('{' . Plugin::NS_CALENDARSERVER . '}invite', function() use ($node) {
-                return new Xml\Property\Invite(
-                    $node->getShares()
-                );
-            });
-
-        }
-
         if ($node instanceof ISharedCalendar) {
 
-            /**
-             });
-             **/
             $propFind->handle('{' . Plugin::NS_CALENDARSERVER . '}invite', function() use ($node) {
 
                 // Fetching owner information

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



More information about the Pkg-owncloud-commits mailing list