Page MenuHomePhabricator

Make passing an object to newCurtain optional
ClosedPublic

Authored by chad on May 16 2017, 2:58 AM.
Tags
None
Referenced Files
F18856554: D17897.id.diff
Sat, Nov 1, 10:18 AM
F18812067: D17897.id.diff
Oct 20 2025, 6:44 AM
F18808498: D17897.diff
Oct 19 2025, 6:48 AM
F18679201: D17897.id.diff
Sep 26 2025, 12:34 AM
F18672483: D17897.id.diff
Sep 25 2025, 7:36 AM
F18672010: D17897.id43041.diff
Sep 25 2025, 6:14 AM
F18669711: D17897.diff
Sep 24 2025, 9:34 PM
F18391969: D17897.diff
Aug 29 2025, 7:55 AM
Subscribers

Details

Summary

We seem to already support this, just takes it fully there. We don't need to see things like "Flag", etc, on certain subpages of projects/people/etc.

Test Plan

Review Members, Subproject pages, no longer see "Flag for Later" which only is for the Project itself. Check manage, still there.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley added inline comments.
src/applications/base/controller/PhabricatorController.php
493–499

Consider skipping this if $object is null -- some extension might run into trouble assuming that $object will always actually be an object.

This revision is now accepted and ready to land.May 16 2017, 9:52 AM
This revision was automatically updated to reflect the committed changes.