apps/dav/lib/CalDAV/Calendar.php 1 location
|
@@ 312-318 (lines=7) @@
|
| 309 |
|
return isset($this->calendarInfo['{http://owncloud.org/ns}public']); |
| 310 |
|
} |
| 311 |
|
|
| 312 |
|
protected function isShared() { |
| 313 |
|
if (!isset($this->calendarInfo['{http://owncloud.org/ns}owner-principal'])) { |
| 314 |
|
return false; |
| 315 |
|
} |
| 316 |
|
|
| 317 |
|
return $this->calendarInfo['{http://owncloud.org/ns}owner-principal'] !== $this->calendarInfo['principaluri']; |
| 318 |
|
} |
| 319 |
|
|
| 320 |
|
public function isSubscription() { |
| 321 |
|
return isset($this->calendarInfo['{http://calendarserver.org/ns/}source']); |
apps/dav/lib/CalDAV/CalendarObject.php 1 location
|
@@ 60-66 (lines=7) @@
|
| 57 |
|
return $vObject->serialize(); |
| 58 |
|
} |
| 59 |
|
|
| 60 |
|
protected function isShared() { |
| 61 |
|
if (!isset($this->calendarInfo['{http://owncloud.org/ns}owner-principal'])) { |
| 62 |
|
return false; |
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
return $this->calendarInfo['{http://owncloud.org/ns}owner-principal'] !== $this->calendarInfo['principaluri']; |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
/** |
| 69 |
|
* @param Component\VCalendar $vObject |