Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/storage/PhabricatorCalendarEvent.php
Show First 20 Lines • Show All 529 Lines • ▼ Show 20 Lines | /* -( PhabricatorSubscribableInterface )----------------------------------- */ | ||||
public function isAutomaticallySubscribed($phid) { | public function isAutomaticallySubscribed($phid) { | ||||
return ($phid == $this->getUserPHID()); | return ($phid == $this->getUserPHID()); | ||||
} | } | ||||
public function shouldShowSubscribersProperty() { | public function shouldShowSubscribersProperty() { | ||||
return true; | return true; | ||||
} | } | ||||
public function shouldAllowSubscription($phid) { | |||||
return true; | |||||
} | |||||
/* -( PhabricatorTokenReceiverInterface )---------------------------------- */ | /* -( PhabricatorTokenReceiverInterface )---------------------------------- */ | ||||
public function getUsersToNotifyOfTokenGiven() { | public function getUsersToNotifyOfTokenGiven() { | ||||
return array($this->getUserPHID()); | return array($this->getUserPHID()); | ||||
} | } | ||||
/* -( PhabricatorDestructibleInterface )----------------------------------- */ | /* -( PhabricatorDestructibleInterface )----------------------------------- */ | ||||
Show All 26 Lines |