Page MenuHomePhabricator

Make passing an object to newCurtain optional
ClosedPublic

Authored by chad on May 16 2017, 2:58 AM.
Tags
None
Referenced Files
F19017139: D17897.id.diff
Nov 23 2025, 6:43 AM
F19010798: D17897.diff
Nov 22 2025, 6:23 AM
F18856554: D17897.id.diff
Nov 1 2025, 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
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
Branch
curtain-object (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16968
Build 22684: Run Core Tests
Build 22683: arc lint + arc unit

Event Timeline

epriestley added inline comments.
src/applications/base/controller/PhabricatorController.php
494–497

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.