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
F18921896: D19633.id.diff
Sun, Nov 9, 2:51 PM
F18920902: D19633.id46924.diff
Sun, Nov 9, 1:28 PM
F18865712: D19633.id.diff
Mon, Nov 3, 1:37 PM
F18832643: D19633.id46939.diff
Oct 25 2025, 10:24 PM
F18832642: D19633.id46924.diff
Oct 25 2025, 10:24 PM
F18832641: D19633.id.diff
Oct 25 2025, 10:24 PM
F18831598: D19633.diff
Oct 25 2025, 1:47 PM
F18746887: D19633.id.diff
Oct 3 2025, 1:50 PM
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