Page MenuHomePhabricator

Reduce reliance on `getRevisionID()` on DifferentialComment
ClosedPublic

Authored by epriestley on Feb 12 2014, 6:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 7:33 AM
Unknown Object (File)
Fri, Apr 5, 6:28 AM
Unknown Object (File)
Fri, Mar 29, 11:38 PM
Unknown Object (File)
Fri, Mar 22, 2:39 AM
Unknown Object (File)
Fri, Mar 22, 2:39 AM
Unknown Object (File)
Fri, Mar 22, 1:56 AM
Unknown Object (File)
Fri, Mar 22, 1:16 AM
Unknown Object (File)
Mar 13 2024, 11:04 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