Differential D12046 Diff 28995 src/applications/conpherence/controller/ConpherenceColumnViewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/controller/ConpherenceColumnViewController.php
| Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | if (!$conpherence) { | ||||
| $participant = $conpherence->getParticipant($user->getPHID()); | $participant = $conpherence->getParticipant($user->getPHID()); | ||||
| $transactions = $conpherence->getTransactions(); | $transactions = $conpherence->getTransactions(); | ||||
| $latest_transaction = head($transactions); | $latest_transaction = head($transactions); | ||||
| $write_guard = AphrontWriteGuard::beginScopedUnguardedWrites(); | $write_guard = AphrontWriteGuard::beginScopedUnguardedWrites(); | ||||
| $participant->markUpToDate($conpherence, $latest_transaction); | $participant->markUpToDate($conpherence, $latest_transaction); | ||||
| unset($write_guard); | unset($write_guard); | ||||
| $draft = PhabricatorDraft::newFromUserAndKey( | |||||
| $user, | |||||
| $conpherence->getPHID()); | |||||
| $durable_column | $durable_column | ||||
| ->setDraft($draft) | |||||
| ->setSelectedConpherence($conpherence) | ->setSelectedConpherence($conpherence) | ||||
| ->setConpherences($latest_conpherences); | ->setConpherences($latest_conpherences); | ||||
| $conpherence_id = $conpherence->getID(); | $conpherence_id = $conpherence->getID(); | ||||
| $conpherence_phid = $conpherence->getPHID(); | $conpherence_phid = $conpherence->getPHID(); | ||||
| $latest_transaction_id = $latest_transaction->getID(); | $latest_transaction_id = $latest_transaction->getID(); | ||||
| } | } | ||||
| $response = array( | $response = array( | ||||
| Show All 9 Lines | |||||