Differential D16562 Diff 39867 src/applications/conpherence/controller/ConpherenceParticipantController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/controller/ConpherenceParticipantController.php
Show All 11 Lines | public function handleRequest(AphrontRequest $request) { | ||||
$conpherence_id = $request->getURIData('id'); | $conpherence_id = $request->getURIData('id'); | ||||
if (!$conpherence_id) { | if (!$conpherence_id) { | ||||
return new Aphront404Response(); | return new Aphront404Response(); | ||||
} | } | ||||
$conpherence = id(new ConpherenceThreadQuery()) | $conpherence = id(new ConpherenceThreadQuery()) | ||||
->setViewer($viewer) | ->setViewer($viewer) | ||||
->withIDs(array($conpherence_id)) | ->withIDs(array($conpherence_id)) | ||||
->needWidgetData(true) | ->needParticipants(true) | ||||
->executeOne(); | ->executeOne(); | ||||
if (!$conpherence) { | if (!$conpherence) { | ||||
return new Aphront404Response(); | return new Aphront404Response(); | ||||
} | } | ||||
$uri = $this->getApplicationURI('update/'.$conpherence->getID().'/'); | $uri = $this->getApplicationURI('update/'.$conpherence->getID().'/'); | ||||
$content = id(new ConpherenceParticipantView()) | $content = id(new ConpherenceParticipantView()) | ||||
Show All 10 Lines |