Page MenuHomePhabricator

Reduce reliance on `getRevisionID()` on DifferentialComment
ClosedPublic

Authored by epriestley on Feb 12 2014, 6:47 PM.
Tags
None
Referenced Files
F14101315: D8209.id18573.diff
Tue, Nov 26, 3:58 PM
F14101314: D8209.id18569.diff
Tue, Nov 26, 3:58 PM
F14101313: D8209.id.diff
Tue, Nov 26, 3:58 PM
F14101312: D8209.diff
Tue, Nov 26, 3:58 PM
F14095536: D8209.diff
Mon, Nov 25, 9:50 PM
Unknown Object (File)
Tue, Nov 19, 5:03 PM
Unknown Object (File)
Mon, Nov 18, 11:39 AM
Unknown Object (File)
Sun, Nov 10, 3:48 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