Page MenuHomePhabricator

Reduce reliance on `getRevisionID()` on DifferentialComment
ClosedPublic

Authored by epriestley on Feb 12 2014, 6:47 PM.
Tags
None
Referenced Files
F15527690: D8209.id18573.diff
Tue, Apr 22, 5:52 AM
F15512593: D8209.id.diff
Thu, Apr 17, 11:50 AM
F15509606: D8209.diff
Wed, Apr 16, 2:37 PM
F15506785: D8209.diff
Tue, Apr 15, 2:12 PM
F15503856: D8209.id.diff
Mon, Apr 14, 1:45 PM
F15487727: D8209.diff
Thu, Apr 10, 4:38 PM
F15459163: D8209.id18573.diff
Mon, Mar 31, 10:22 AM
F15410272: D8209.diff
Mar 19 2025, 6:59 AM
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

Repository
rP Phabricator
Branch
dxn2
Lint
Lint Passed
Unit
Tests Passed

Event Timeline

lamest inline feedback in awhile

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

these could all be $viewer I s'pose