From 3fc03c0da1067d5a07cab9ffbc8a249d5d0654bc Mon Sep 17 00:00:00 2001 From: epriestley Date: Wed, 1 Feb 2017 09:55:44 -0800 Subject: [PATCH] Show magic "Home" menu item for logged-out users on public installs Summary: Ref T12174. Setup is: - Allow public access. - Don't touch the default menu. - Visit `/` while logged out. Currently, you see "magic home" as content, but don't actually see the menu item. Instead, show the menu item. Test Plan: {F2557000} Reviewers: chad Reviewed By: chad Maniphest Tasks: T12174 Differential Revision: https://secure.phabricator.com/D17288 --- .../home/menuitem/PhabricatorHomeProfileMenuItem.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/applications/home/menuitem/PhabricatorHomeProfileMenuItem.php b/src/applications/home/menuitem/PhabricatorHomeProfileMenuItem.php index 40dd2dd41e..cc585a2702 100644 --- a/src/applications/home/menuitem/PhabricatorHomeProfileMenuItem.php +++ b/src/applications/home/menuitem/PhabricatorHomeProfileMenuItem.php @@ -56,10 +56,6 @@ final class PhabricatorHomeProfileMenuItem PhabricatorProfileMenuItemConfiguration $config) { $viewer = $this->getViewer(); - if (!$viewer->isLoggedIn()) { - return array(); - } - $name = $this->getDisplayName($config); $icon = 'fa-home'; $href = $this->getItemViewURI($config);