Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 3976488

Browse files
author
epriestley
committed
Make the "attach_inlines" parameter to "differential.createcomment" a no-op
Summary: Ref T13513. See that task for some discussion. This prepares to lift "loadUnsubmittedInlineComments(...)" into shared code. Test Plan: Grepped for callers, found none in the upstream. This is a backward compatibilty break. See T13513. Maniphest Tasks: T13513 Differential Revision: https://secure.phabricator.com/D21225
1 parent 0067f1a commit 3976488

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

src/applications/differential/conduit/DifferentialCreateCommentConduitAPIMethod.php

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,8 @@ protected function execute(ConduitAPIRequest $request) {
9494
->setContent($content));
9595
}
9696

97-
if ($request->getValue('attach_inlines')) {
98-
$type_inline = DifferentialTransaction::TYPE_INLINE;
99-
$inlines = DifferentialTransactionQuery::loadUnsubmittedInlineComments(
100-
$viewer,
101-
$revision);
102-
foreach ($inlines as $inline) {
103-
$xactions[] = id(new DifferentialTransaction())
104-
->setTransactionType($type_inline)
105-
->attachComment($inline);
106-
}
107-
}
97+
// NOTE: The legacy "attach_inlines" flag is now ignored and has no
98+
// effect. See T13513.
10899

109100
// NOTE: The legacy "silent" flag is now ignored and has no effect. See
110101
// T13042.

0 commit comments

Comments
 (0)