Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/storage/PhabricatorProject.php
Show First 20 Lines • Show All 542 Lines • ▼ Show 20 Lines | /* -( PhabricatorSubscribableInterface )----------------------------------- */ | ||||
public function isAutomaticallySubscribed($phid) { | public function isAutomaticallySubscribed($phid) { | ||||
return false; | return false; | ||||
} | } | ||||
public function shouldShowSubscribersProperty() { | public function shouldShowSubscribersProperty() { | ||||
return false; | return false; | ||||
} | } | ||||
public function shouldAllowSubscription($phid) { | |||||
return $this->isUserMember($phid) && | |||||
!$this->isUserWatcher($phid); | |||||
} | |||||
/* -( PhabricatorCustomFieldInterface )------------------------------------ */ | /* -( PhabricatorCustomFieldInterface )------------------------------------ */ | ||||
public function getCustomFieldSpecificationForRole($role) { | public function getCustomFieldSpecificationForRole($role) { | ||||
return PhabricatorEnv::getEnvConfig('projects.fields'); | return PhabricatorEnv::getEnvConfig('projects.fields'); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines |