1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 23:02:42 +01:00

Freeze "phriction.history" in favor of "phriction.content.search"

Summary: Depends on D19097. Ref T13077. Freeze the older method now that the newer one is available.

Test Plan: Viewed the older method's page and saw it frozen; called it to make sure I didn't break it by accident.

Maniphest Tasks: T13077

Differential Revision: https://secure.phabricator.com/D19098
This commit is contained in:
epriestley 2018-02-15 08:28:19 -08:00
parent 8101bf74e9
commit 48eb82f229

View file

@ -10,6 +10,16 @@ final class PhrictionHistoryConduitAPIMethod extends PhrictionConduitAPIMethod {
return pht('Retrieve history about a Phriction document.');
}
public function getMethodStatus() {
return self::METHOD_STATUS_FROZEN;
}
public function getMethodStatusDescription() {
return pht(
'This method is frozen and will eventually be deprecated. New code '.
'should use "phriction.content.search" instead.');
}
protected function defineParamTypes() {
return array(
'slug' => 'required string',