Page MenuHomePhabricator

Reduce reliance on `getRevisionID()` on DifferentialComment
ClosedPublic

Authored by epriestley on Feb 12 2014, 6:47 PM.
Tags
None
Referenced Files
F15585888: D8209.diff
Thu, May 8, 11:38 AM
F15577596: D8209.id.diff
Tue, May 6, 2:56 PM
F15575279: D8209.id18573.diff
Tue, May 6, 5:17 AM
F15575277: D8209.id18569.diff
Tue, May 6, 5:17 AM
F15575276: D8209.id.diff
Tue, May 6, 5:17 AM
F15575275: D8209.diff
Tue, May 6, 5:16 AM
F15566018: D8209.id.diff
Thu, May 1, 12:06 PM
F15544184: D8209.id.diff
Sat, Apr 26, 3:25 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