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)
Sun, Feb 2, 2:34 PM
Unknown Object (File)
Fri, Jan 24, 12:47 AM
Unknown Object (File)
Jan 2 2025, 9:02 PM
Unknown Object (File)
Dec 25 2024, 2:30 AM
Unknown Object (File)
Dec 24 2024, 5:36 PM
Unknown Object (File)
Dec 7 2024, 3:34 PM
Unknown Object (File)
Dec 2 2024, 1:17 PM
Unknown Object (File)
Nov 28 2024, 5:40 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