1
0
Fork 0
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:
epriestley 2018-02-16 11:42:59 -08:00
parent 6d3177a3bf
commit db3ef4021a

View file

@ -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',