1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-29 18:22:41 +01:00

Deprecate ancient "slowvote.info" API method

Summary: Depends on D20686. Fixes T13350. Now that "slowvote.poll.search" exists, deprecate this old method.

Test Plan: Reviewed method description in Condiut API console in the web UI.

Maniphest Tasks: T13350

Differential Revision: https://secure.phabricator.com/D20687
This commit is contained in:
epriestley 2019-07-31 11:24:40 -07:00
parent f92480fb77
commit 2ec39afcd1

View file

@ -6,6 +6,14 @@ final class SlowvoteInfoConduitAPIMethod extends SlowvoteConduitAPIMethod {
return 'slowvote.info'; return 'slowvote.info';
} }
public function getMethodStatus() {
return self::METHOD_STATUS_DEPRECATED;
}
public function getMethodStatusDescription() {
return pht('Replaced by "slowvote.poll.search".');
}
public function getMethodDescription() { public function getMethodDescription() {
return pht('Retrieve an array of information about a poll.'); return pht('Retrieve an array of information about a poll.');
} }