Changeset View
Changeset View
Standalone View
Standalone View
src/applications/badges/storage/PhabricatorBadgesBadge.php
Show First 20 Lines • Show All 179 Lines • ▼ Show 20 Lines | /* -( PhabricatorSubscribableInterface )----------------------------------- */ | ||||
public function isAutomaticallySubscribed($phid) { | public function isAutomaticallySubscribed($phid) { | ||||
return ($this->creatorPHID == $phid); | return ($this->creatorPHID == $phid); | ||||
} | } | ||||
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->getCreatorPHID()); | return array($this->getCreatorPHID()); | ||||
} | } | ||||
Show All 14 Lines |