[Pkg-owncloud-commits] [php-sabre-vobject] 176/341: Fix CS.
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 13:35:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabre-vobject.
commit de38a6ebfc9975cf983374ad43cd00be379650f9
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date: Wed Jan 21 10:54:18 2015 +0100
Fix CS.
---
lib/Component/VCalendar.php | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/lib/Component/VCalendar.php b/lib/Component/VCalendar.php
index 779567d..a4f867b 100644
--- a/lib/Component/VCalendar.php
+++ b/lib/Component/VCalendar.php
@@ -260,7 +260,6 @@ class VCalendar extends VObject\Document {
continue;
}
-
if (!$vevent->rrule) {
unset($this->children[$key]);
if ($vevent->isInTimeRange($start, $end)) {
@@ -269,9 +268,8 @@ class VCalendar extends VObject\Document {
continue;
}
-
-
$uid = (string)$vevent->uid;
+
if (!$uid) {
throw new \LogicException('Event did not have a UID!');
}
@@ -314,7 +312,6 @@ class VCalendar extends VObject\Document {
$dt[0] = $dt[0]->setTimeZone(new DateTimeZone('UTC'));
$child->setDateTimes($dt);
}
-
}
$this->add($newEvent);
@@ -406,9 +403,7 @@ class VCalendar extends VObject\Document {
}
$uidList = [];
-
$componentsFound = 0;
-
$componentTypes = [];
foreach($this->children as $child) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabre-vobject.git
More information about the Pkg-owncloud-commits
mailing list