Page MenuHomePhabricator

D8868.id21041.diff
No OneTemporary

D8868.id21041.diff

diff --git a/src/view/page/menu/PhabricatorMainMenuView.php b/src/view/page/menu/PhabricatorMainMenuView.php
--- a/src/view/page/menu/PhabricatorMainMenuView.php
+++ b/src/view/page/menu/PhabricatorMainMenuView.php
@@ -41,6 +41,11 @@
$menus = array_merge($menus, $dropdowns);
$app_button = $this->renderApplicationMenuButton($header_id);
$search_button = $this->renderSearchMenuButton($header_id);
+ } else {
+ $app_button = $this->renderApplicationMenuButton($header_id);
+ if (PhabricatorEnv::getEnvConfig('policy.allow-public')) {
+ $search_button = $this->renderSearchMenuButton($header_id);
+ }
}
$search_menu = $this->renderPhabricatorSearchMenu();

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 5, 9:32 AM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6745144
Default Alt Text
D8868.id21041.diff (714 B)

Event Timeline