mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Remove calls to attachFilePHIDs in Conpherence Reply Handler
Summary: I missed removing this during the file purge of '16. Fixes T11717 Test Plan: Will test live Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T11717 Differential Revision: https://secure.phabricator.com/D16639
This commit is contained in:
parent
6d82fcc6d7
commit
3d08046041
1 changed files with 1 additions and 7 deletions
|
@ -34,14 +34,8 @@ final class ConpherenceReplyHandler extends PhabricatorMailReplyHandler {
|
||||||
$user = $this->getActor();
|
$user = $this->getActor();
|
||||||
if (!$conpherence->getPHID()) {
|
if (!$conpherence->getPHID()) {
|
||||||
$conpherence
|
$conpherence
|
||||||
->attachParticipants(array())
|
->attachParticipants(array());
|
||||||
->attachFilePHIDs(array());
|
|
||||||
} else {
|
} else {
|
||||||
$edge_type = PhabricatorObjectHasFileEdgeType::EDGECONST;
|
|
||||||
$file_phids = PhabricatorEdgeQuery::loadDestinationPHIDs(
|
|
||||||
$conpherence->getPHID(),
|
|
||||||
$edge_type);
|
|
||||||
$conpherence->attachFilePHIDs($file_phids);
|
|
||||||
$participants = id(new ConpherenceParticipant())
|
$participants = id(new ConpherenceParticipant())
|
||||||
->loadAllWhere('conpherencePHID = %s', $conpherence->getPHID());
|
->loadAllWhere('conpherencePHID = %s', $conpherence->getPHID());
|
||||||
$participants = mpull($participants, null, 'getParticipantPHID');
|
$participants = mpull($participants, null, 'getParticipantPHID');
|
||||||
|
|
Loading…
Reference in a new issue