[Pkg-owncloud-commits] [php-sabredav] 18/42: Incorrect class reference. Needs test

David Prévot taffit at moszumanska.debian.org
Wed Oct 29 20:52:05 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 a409c061805bf99a1487a2264c7c669efaefae6b
Author: Evert Pot <me at evertpot.com>
Date:   Tue Oct 7 16:42:56 2014 -0400

    Incorrect class reference. Needs test
---
 lib/CalDAV/Plugin.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/CalDAV/Plugin.php b/lib/CalDAV/Plugin.php
index 754aa7b..1f153e0 100644
--- a/lib/CalDAV/Plugin.php
+++ b/lib/CalDAV/Plugin.php
@@ -312,7 +312,7 @@ class Plugin extends DAV\ServerPlugin {
 
         $ns = '{' . self::NS_CALDAV . '}';
 
-        if ($node instanceof ICalendarContainer) {
+        if ($node instanceof ICalendarObjectContainer) {
 
             $propFind->handle($ns . 'max-resource-size', $this->maxResourceSize);
             $propFind->handle($ns . 'supported-calendar-data', function() {

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