apps/dav/lib/CalDAV/Calendar.php 1 location
|
@@ 315-321 (lines=7) @@
|
| 312 |
|
return isset($this->calendarInfo['{http://owncloud.org/ns}public']); |
| 313 |
|
} |
| 314 |
|
|
| 315 |
|
protected function isShared() { |
| 316 |
|
if (!isset($this->calendarInfo['{http://owncloud.org/ns}owner-principal'])) { |
| 317 |
|
return false; |
| 318 |
|
} |
| 319 |
|
|
| 320 |
|
return $this->calendarInfo['{http://owncloud.org/ns}owner-principal'] !== $this->calendarInfo['principaluri']; |
| 321 |
|
} |
| 322 |
|
|
| 323 |
|
public function isSubscription() { |
| 324 |
|
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 |