Page MenuHomePhabricator

D8868.diff
No OneTemporary

D8868.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
Fri, Nov 15, 4:23 PM (4 d, 23 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6745144
Default Alt Text
D8868.diff (714 B)

Event Timeline