Differential D9859 Diff 23678 src/applications/differential/conduit/ConduitAPI_differential_finishpostponedlinters_Method.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/conduit/ConduitAPI_differential_finishpostponedlinters_Method.php
| Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | protected function execute(ConduitAPIRequest $request) { | ||||
| } | } | ||||
| foreach ($postponed_linters as $idx => $linter) { | foreach ($postponed_linters as $idx => $linter) { | ||||
| if (in_array($linter, $finished_linters)) { | if (in_array($linter, $finished_linters)) { | ||||
| unset($postponed_linters[$idx]); | unset($postponed_linters[$idx]); | ||||
| } | } | ||||
| } | } | ||||
| // Load the lint messages currenty attached to the diff. If this | // Load the lint messages currenty attached to the diff. If this | ||||
| // diff property doesn't exist, create it. | // diff property doesn't exist, create it. | ||||
| $messages_property = id(new DifferentialDiffProperty())->loadOneWhere( | $messages_property = id(new DifferentialDiffProperty())->loadOneWhere( | ||||
| 'diffID = %d AND name = %s', | 'diffID = %d AND name = %s', | ||||
| $diff_id, | $diff_id, | ||||
| 'arc:lint'); | 'arc:lint'); | ||||
| if ($messages_property) { | if ($messages_property) { | ||||
| $messages = $messages_property->getData(); | $messages = $messages_property->getData(); | ||||
| } else { | } else { | ||||
| Show All 34 Lines | |||||