Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14745051
D17247.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1001 B
Referenced Files
None
Subscribers
None
D17247.diff
View Options
diff --git a/src/applications/home/controller/PhabricatorHomeMenuItemController.php b/src/applications/home/controller/PhabricatorHomeMenuItemController.php
--- a/src/applications/home/controller/PhabricatorHomeMenuItemController.php
+++ b/src/applications/home/controller/PhabricatorHomeMenuItemController.php
@@ -7,8 +7,10 @@
$viewer = $this->getViewer();
$type = $request->getURIData('type');
$custom_phid = null;
+ $menu = PhabricatorProfileMenuEngine::MENU_GLOBAL;
if ($type == 'personal') {
$custom_phid = $viewer->getPHID();
+ $menu = PhabricatorProfileMenuEngine::MENU_PERSONAL;
}
$application = 'PhabricatorHomeApplication';
@@ -21,7 +23,9 @@
$engine = id(new PhabricatorHomeProfileMenuEngine())
->setProfileObject($home_app)
->setCustomPHID($custom_phid)
- ->setController($this);
+ ->setMenuType($menu)
+ ->setController($this)
+ ->setShowNavigation(false);
return $engine->buildResponse();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 22, 9:17 AM (4 h, 13 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7027663
Default Alt Text
D17247.diff (1001 B)
Attached To
Mode
D17247: Use new menu constants in home menu item
Attached
Detach File
Event Timeline
Log In to Comment