Publish "done" inline comment checkbox state in Diffusion

Summary:
Ref T1460. See D12126. This is essentially the same change, but for Diffusion.

This is a bit copy/pastey. I'm going to make an effort to lift inline handling into the core before pushing this in, so hopefully that will clean things up a bit.

Test Plan: Submitted stuff in Diffusion and got checkmarks to publish.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T1460

Differential Revision: https://secure.phabricator.com/D12128
This commit is contained in:
epriestley
2015-03-22 06:00:49 -07:00
parent 9f3210c883
commit cbb5a297d5
3 changed files with 104 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ final class DiffusionInlineCommentController
$commit = id(new DiffusionCommitQuery())
->setViewer($viewer)
->withPHIDs(array($inline->getCommitPHID()))
->exeucteOne();
->executeOne();
if (!$commit) {
throw new Exception(pht('Failed to load commit.'));
}