[Pkg-owncloud-commits] [php-sabredav] 97/275: Bugfixes.
David Prévot
taffit at moszumanska.debian.org
Thu Sep 25 14:55:56 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 dd57878c0c615cef7e5c39f86fcb364f5918dde6
Author: Evert Pot <evert at rooftopsolutions.nl>
Date: Mon Jul 21 20:31:19 2014 -0400
Bugfixes.
---
lib/CalDAV/CalendarHome.php | 2 +-
lib/CalDAV/Schedule/Plugin.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/CalDAV/CalendarHome.php b/lib/CalDAV/CalendarHome.php
index cc4717c..18bec17 100644
--- a/lib/CalDAV/CalendarHome.php
+++ b/lib/CalDAV/CalendarHome.php
@@ -391,7 +391,7 @@ class CalendarHome implements DAV\IExtendedCollection, DAVACL\IACL {
*/
public function getCalendarObjectByUID($uid) {
- $this->caldavBackend->getCalendarObjectByUID($this->principalInfo['uri'], $uid);
+ return $this->caldavBackend->getCalendarObjectByUID($this->principalInfo['uri'], $uid);
}
diff --git a/lib/CalDAV/Schedule/Plugin.php b/lib/CalDAV/Schedule/Plugin.php
index aca75b7..9a6c91e 100644
--- a/lib/CalDAV/Schedule/Plugin.php
+++ b/lib/CalDAV/Schedule/Plugin.php
@@ -583,7 +583,7 @@ class Plugin extends ServerPlugin {
$inbox->createFile($newFileName, $iTipMessage->message->serialize());
- if ($isNewNode && !$newObject) {
+ if (!$newObject) {
// We received an iTip message referring to a UID that we don't
// have in any calendars yet, and processMessage did not give us a
// calendarobject back.
--
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