Changeset View
Changeset View
Standalone View
Standalone View
src/applications/pholio/storage/PholioMock.php
Show First 20 Lines • Show All 182 Lines • ▼ Show 20 Lines | /* -( PhabricatorSubscribableInterface Implementation )-------------------- */ | ||||
public function isAutomaticallySubscribed($phid) { | public function isAutomaticallySubscribed($phid) { | ||||
return ($this->authorPHID == $phid); | return ($this->authorPHID == $phid); | ||||
} | } | ||||
public function shouldShowSubscribersProperty() { | public function shouldShowSubscribersProperty() { | ||||
return true; | return true; | ||||
} | } | ||||
public function shouldAllowSubscription($phid) { | |||||
return true; | |||||
} | |||||
/* -( PhabricatorPolicyInterface Implementation )-------------------------- */ | /* -( PhabricatorPolicyInterface Implementation )-------------------------- */ | ||||
public function getCapabilities() { | public function getCapabilities() { | ||||
return array( | return array( | ||||
PhabricatorPolicyCapability::CAN_VIEW, | PhabricatorPolicyCapability::CAN_VIEW, | ||||
PhabricatorPolicyCapability::CAN_EDIT, | PhabricatorPolicyCapability::CAN_EDIT, | ||||
▲ Show 20 Lines • Show All 131 Lines • Show Last 20 Lines |