Page MenuHomePhabricator

Reduce reliance on `getRevisionID()` on DifferentialComment
ClosedPublic

Authored by epriestley on Feb 12 2014, 6:47 PM.
Tags
None
Referenced Files
F15459163: D8209.id18573.diff
Mon, Mar 31, 10:22 AM
F15410272: D8209.diff
Wed, Mar 19, 6:59 AM
F15402597: D8209.id18569.diff
Mon, Mar 17, 11:11 PM
F15374911: D8209.diff
Wed, Mar 12, 8:35 PM
F15336818: D8209.id18569.diff
Mar 9 2025, 2:09 AM
Unknown Object (File)
Feb 27 2025, 1:00 PM
Unknown Object (File)
Feb 18 2025, 4:14 PM
Unknown Object (File)
Feb 15 2025, 1:27 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

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