Changeset View
Changeset View
Standalone View
Standalone View
src/applications/feed/config/PhabricatorFeedConfigOptions.php
Show All 18 Lines | public function getGroup() { | ||||
return 'apps'; | return 'apps'; | ||||
} | } | ||||
public function getOptions() { | public function getOptions() { | ||||
$hooks_help = $this->deformat(pht(<<<EODOC | $hooks_help = $this->deformat(pht(<<<EODOC | ||||
IMPORTANT: Feed hooks are deprecated and have been replaced by Webhooks. | IMPORTANT: Feed hooks are deprecated and have been replaced by Webhooks. | ||||
You can configure Webhooks in Herald. This configuration option will be removed | You can configure Webhooks in Herald. This configuration option will be removed | ||||
in a future version of Phabricator. | in a future version of the software. | ||||
(This legacy option may be configured with a list of URIs; feed stories will | (This legacy option may be configured with a list of URIs; feed stories will | ||||
send to these URIs.) | send to these URIs.) | ||||
EODOC | EODOC | ||||
)); | )); | ||||
return array( | return array( | ||||
$this->newOption('feed.http-hooks', 'list<string>', array()) | $this->newOption('feed.http-hooks', 'list<string>', array()) | ||||
->setLocked(true) | ->setLocked(true) | ||||
->setSummary(pht('Deprecated.')) | ->setSummary(pht('Deprecated.')) | ||||
->setDescription($hooks_help), | ->setDescription($hooks_help), | ||||
); | ); | ||||
} | } | ||||
} | } |