Page MenuHomePhabricator

Make passing an object to newCurtain optional
ClosedPublic

Authored by chad on May 16 2017, 2:58 AM.
Tags
None
Referenced Files
F14082412: D17897.diff
Fri, Nov 22, 11:44 PM
Unknown Object (File)
Tue, Nov 19, 2:53 PM
Unknown Object (File)
Fri, Nov 15, 11:47 AM
Unknown Object (File)
Thu, Nov 14, 7:02 PM
Unknown Object (File)
Mon, Nov 11, 2:00 AM
Unknown Object (File)
Sun, Nov 10, 1:11 PM
Unknown Object (File)
Sun, Nov 10, 12:56 PM
Unknown Object (File)
Sun, Nov 10, 10:43 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.