HomePhabricator

Use correct viewer for debug.stop-on-redirect

Description

Use correct viewer for debug.stop-on-redirect

Summary:
See https://github.com/facebook/phabricator/pull/563.

I think this secondary construction of a $user is very old, and predates subsequent changes which cause a proper user to construct earlier, so using the user on the $request should (I think) always work. I couldn't immediately find any cases where it does not.

Test Plan: With debug.stop-on-redirect set, hit various redirects, like jump-naving to T1. Got a proper stop dialog.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D8718

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Apr 8 2014, 5:27 PM
Reviewer
btrahan
Differential Revision
D8718: Use correct viewer for debug.stop-on-redirect
Parents
rPb937bf5946f8: Spell "eventually" correctly, eventually.
Branches
Unknown
Tags
Unknown

Event Timeline