1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Mark ConpherenceCreate and Update conduit calls as frozen

Summary: T12656, mark these methods as frozen and use conpherence.edit instead.

Test Plan: Visit conduit, check status is displayed.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D17808
This commit is contained in:
Chad Little 2017-05-01 09:17:34 -07:00
parent f2ca348b3a
commit da6d624fe8
2 changed files with 20 additions and 0 deletions

View file

@ -11,6 +11,16 @@ final class ConpherenceCreateThreadConduitAPIMethod
return pht('Create a new conpherence thread.'); return pht('Create a new conpherence thread.');
} }
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 "conpherence.edit" instead.');
}
protected function defineParamTypes() { protected function defineParamTypes() {
return array( return array(
'title' => 'required string', 'title' => 'required string',

View file

@ -11,6 +11,16 @@ final class ConpherenceUpdateThreadConduitAPIMethod
return pht('Update an existing conpherence room.'); return pht('Update an existing conpherence room.');
} }
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 "conpherence.edit" instead.');
}
protected function defineParamTypes() { protected function defineParamTypes() {
return array( return array(
'id' => 'optional int', 'id' => 'optional int',