mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +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:
parent
f2ca348b3a
commit
da6d624fe8
2 changed files with 20 additions and 0 deletions
|
@ -11,6 +11,16 @@ final class ConpherenceCreateThreadConduitAPIMethod
|
|||
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() {
|
||||
return array(
|
||||
'title' => 'required string',
|
||||
|
|
|
@ -11,6 +11,16 @@ final class ConpherenceUpdateThreadConduitAPIMethod
|
|||
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() {
|
||||
return array(
|
||||
'id' => 'optional int',
|
||||
|
|
Loading…
Reference in a new issue