mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
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
This commit is contained in:
parent
638a9471fd
commit
3fc03c0da1
1 changed files with 0 additions and 4 deletions
|
@ -56,10 +56,6 @@ final class PhabricatorHomeProfileMenuItem
|
||||||
PhabricatorProfileMenuItemConfiguration $config) {
|
PhabricatorProfileMenuItemConfiguration $config) {
|
||||||
$viewer = $this->getViewer();
|
$viewer = $this->getViewer();
|
||||||
|
|
||||||
if (!$viewer->isLoggedIn()) {
|
|
||||||
return array();
|
|
||||||
}
|
|
||||||
|
|
||||||
$name = $this->getDisplayName($config);
|
$name = $this->getDisplayName($config);
|
||||||
$icon = 'fa-home';
|
$icon = 'fa-home';
|
||||||
$href = $this->getItemViewURI($config);
|
$href = $this->getItemViewURI($config);
|
||||||
|
|
Loading…
Reference in a new issue