Page MenuHomePhabricator

Reduce reliance on `getRevisionID()` on DifferentialComment
ClosedPublic

Authored by epriestley on Feb 12 2014, 6:47 PM.
Tags
None
Referenced Files
F19787192: D8209.id.diff
Wed, Feb 25, 1:22 PM
F19709517: D8209.diff
Wed, Feb 11, 2:56 PM
F19703964: D8209.id18573.diff
Wed, Feb 11, 3:39 AM
F19648350: D8209.diff
Fri, Feb 6, 5:47 AM
F19620014: D8209.diff
Wed, Feb 4, 11:33 AM
F19525995: D8209.id18573.diff
Jan 18 2026, 1:15 PM
F19506927: D8209.id18569.diff
Jan 9 2026, 5:09 PM
F19506158: D8209.id18573.diff
Jan 9 2026, 4:41 PM
Subscribers

Details

Summary

Ref T2222. A few rendering interfaces rely on fishing the revision ID out of a DifferentialComment, but it will only have the PHID soon. Pass in the revision and use it to determine the ID instead.

Test Plan

Browsed, previewed, examined comments. Clicked anchors.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

lamest inline feedback in awhile

src/applications/differential/controller/DifferentialCommentPreviewController.php
51

these could all be $viewer I s'pose