1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 05:20:56 +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:
Chad Little 2016-09-30 13:48:42 -07:00
parent 6d82fcc6d7
commit 3d08046041

View file

@ -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');