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:
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.');
|
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',
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue