Skip to content

Commit

Permalink
Merge pull request #3 from temistokles/patch-3
Browse files Browse the repository at this point in the history
Fix broken code
  • Loading branch information
carduz authored Apr 16, 2018
2 parents 178ccaf + 524f18d commit e672f89
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/CalDAVClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -758,17 +758,14 @@ function FindCalendars( $recursed=false ) {
if ( !isset($this->calendar_home_set[0]) ) {
$this->FindCalendarHome($recursed);
}
else {
$properties =
array(
$properties = array(
'resourcetype',
'displayname',
'http://calendarserver.org/ns/:getctag',
'http://apple.com/ns/ical/:calendar-color',
'http://apple.com/ns/ical/:calendar-order',
);
$this->DoPROPFINDRequest( $this->first_url_part.$this->calendar_home_set[0], $properties, 1);
}
@$this->DoPROPFINDRequest( $this->first_url_part.$this->calendar_home_set[0], $properties, 1);

return $this->parse_calendar_info();
}
Expand Down

0 comments on commit e672f89

Please sign in to comment.