Differential D9986 Diff 24115 src/applications/differential/customfield/DifferentialSubscribersField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/customfield/DifferentialSubscribersField.php
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Lines | return array( | ||||
'Subscribers', | 'Subscribers', | ||||
); | ); | ||||
} | } | ||||
public function parseValueFromCommitMessage($value) { | public function parseValueFromCommitMessage($value) { | ||||
return $this->parseObjectList( | return $this->parseObjectList( | ||||
$value, | $value, | ||||
array( | array( | ||||
PhabricatorPeoplePHIDTypeUser::TYPECONST, | PhabricatorPeopleUserPHIDType::TYPECONST, | ||||
PhabricatorProjectPHIDTypeProject::TYPECONST, | PhabricatorProjectProjectPHIDType::TYPECONST, | ||||
PhabricatorMailingListPHIDTypeList::TYPECONST, | PhabricatorMailingListListPHIDType::TYPECONST, | ||||
)); | )); | ||||
} | } | ||||
public function getRequiredHandlePHIDsForCommitMessage() { | public function getRequiredHandlePHIDsForCommitMessage() { | ||||
return $this->getValue(); | return $this->getValue(); | ||||
} | } | ||||
public function renderCommitMessageValue(array $handles) { | public function renderCommitMessageValue(array $handles) { | ||||
return $this->renderObjectList($handles); | return $this->renderObjectList($handles); | ||||
} | } | ||||
} | } |