apps/dav/lib/CalDAV/Calendar.php 1 location
|
@@ 331-337 (lines=7) @@
|
| 328 |
|
return isset($this->calendarInfo['{http://owncloud.org/ns}public']); |
| 329 |
|
} |
| 330 |
|
|
| 331 |
|
protected function isShared() { |
| 332 |
|
if (!isset($this->calendarInfo['{http://owncloud.org/ns}owner-principal'])) { |
| 333 |
|
return false; |
| 334 |
|
} |
| 335 |
|
|
| 336 |
|
return $this->calendarInfo['{http://owncloud.org/ns}owner-principal'] !== $this->calendarInfo['principaluri']; |
| 337 |
|
} |
| 338 |
|
|
| 339 |
|
public function isSubscription() { |
| 340 |
|
return isset($this->calendarInfo['{http://calendarserver.org/ns/}source']); |
apps/dav/lib/CalDAV/CalendarObject.php 1 location
|
@@ 76-82 (lines=7) @@
|
| 73 |
|
return $vObject->serialize(); |
| 74 |
|
} |
| 75 |
|
|
| 76 |
|
protected function isShared() { |
| 77 |
|
if (!isset($this->calendarInfo['{http://owncloud.org/ns}owner-principal'])) { |
| 78 |
|
return false; |
| 79 |
|
} |
| 80 |
|
|
| 81 |
|
return $this->calendarInfo['{http://owncloud.org/ns}owner-principal'] !== $this->calendarInfo['principaluri']; |
| 82 |
|
} |
| 83 |
|
|
| 84 |
|
/** |
| 85 |
|
* @param Component\VCalendar $vObject |