mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-11 15:21:03 +01:00
Freeze the "phriction.info" Conduit API method
Summary: Ref T13077. Freeze "phriction.info" in favor of the more modern "phriction.document.search". Test Plan: Reviewed older method in web UI, saw frozen markers. Maniphest Tasks: T13077 Differential Revision: https://secure.phabricator.com/D19113
This commit is contained in:
parent
6d3177a3bf
commit
db3ef4021a
1 changed files with 10 additions and 0 deletions
|
@ -10,6 +10,16 @@ final class PhrictionInfoConduitAPIMethod extends PhrictionConduitAPIMethod {
|
|||
return pht('Retrieve information 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.document.search" instead.');
|
||||
}
|
||||
|
||||
protected function defineParamTypes() {
|
||||
return array(
|
||||
'slug' => 'required string',
|
||||
|
|
Loading…
Reference in a new issue