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:
@@ -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',
|
||||
|
Reference in New Issue
Block a user