mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 10:42:41 +01:00
Conpherence - fix missing method
Summary: Fixes T7669. Broken by D12163 re-factoring and foolihardiness of test coverage. Notably / interestingly, this was broken before D12163 from not implementing policy correctly, so Conpherence has been broken for a bit with few reports. Test Plan: had user send himself a message Reviewers: chad, epriestley Reviewed By: chad, epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T7669 Differential Revision: https://secure.phabricator.com/D12177
This commit is contained in:
parent
6b74873358
commit
d2e59b2289
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ final class ConpherenceCreateThreadConduitAPIMethod
|
||||||
$message = $request->getValue('message');
|
$message = $request->getValue('message');
|
||||||
$title = $request->getValue('title');
|
$title = $request->getValue('title');
|
||||||
|
|
||||||
list($errors, $conpherence) = ConpherenceEditor::createConpherence(
|
list($errors, $conpherence) = ConpherenceEditor::createThread(
|
||||||
$request->getUser(),
|
$request->getUser(),
|
||||||
$participant_phids,
|
$participant_phids,
|
||||||
$title,
|
$title,
|
||||||
|
|
|
@ -19,7 +19,7 @@ final class ConpherenceNewController extends ConpherenceController {
|
||||||
if ($request->isFormPost()) {
|
if ($request->isFormPost()) {
|
||||||
$participants = $request->getArr('participants');
|
$participants = $request->getArr('participants');
|
||||||
$message = $request->getStr('message');
|
$message = $request->getStr('message');
|
||||||
list($error_codes, $conpherence) = ConpherenceEditor::createConpherence(
|
list($error_codes, $conpherence) = ConpherenceEditor::createThread(
|
||||||
$user,
|
$user,
|
||||||
$participants,
|
$participants,
|
||||||
$conpherence_title = null,
|
$conpherence_title = null,
|
||||||
|
|
Loading…
Reference in a new issue