Page MenuHomePhabricator

Update some inline comment logic to use more modern "Viewer"-oriented calls/variables
ClosedPublic

Authored by epriestley on Sep 4 2018, 6:31 PM.
Tags
None
Referenced Files
F17946787: D19633.id.diff
Thu, Jul 31, 3:09 PM
F17924671: D19633.diff
Wed, Jul 30, 10:21 AM
Unknown Object (File)
May 29 2025, 2:03 PM
Unknown Object (File)
May 28 2025, 12:25 PM
Unknown Object (File)
May 7 2025, 5:22 AM
Unknown Object (File)
Apr 27 2025, 4:10 PM
Unknown Object (File)
Apr 26 2025, 1:43 PM
Unknown Object (File)
Apr 25 2025, 9:10 AM
Subscribers
None

Details

Summary

Ref T13195. Ref T8573. The inline comment controllers currently use outdated $user = $this->getRequest()->getUser() calls.

Instead, use $viewer = $this->getViewer().

This is just a small consistency update with no behavioral changes.

Test Plan

Viewed and added inlines in Differential and Diffusion.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable