1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 12:52:42 +01:00

Really pin "applications" to the bottom of the menu, for serious

Summary: Pin it.

Test Plan: Saw it pinned.

Reviewers: chad

Reviewed By: chad

Subscribers: richardvanvelzen, epriestley

Differential Revision: https://secure.phabricator.com/D9373
This commit is contained in:
epriestley 2014-06-04 13:07:00 -07:00
parent 14dab3f55c
commit 1bfa8b2063

View file

@ -32,11 +32,12 @@ abstract class PhabricatorHomeController extends PhabricatorController {
$applications,
$user);
// Put "Applications" at the bottom.
// Force "Applications" to appear at the bottom.
$meta_app = 'PhabricatorApplicationApplications';
$pinned = array_fuse($pinned);
unset($pinned[$meta_app]);
$pinned[$meta_app] = $meta_app;
$applications[$meta_app] = PhabricatorApplication::getByClass($meta_app);
$tiles = array();
foreach ($pinned as $pinned_application) {