mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01: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:
parent
8101bf74e9
commit
48eb82f229
1 changed files with 10 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue