Page MenuHomePhabricator

D11170.id26819.diff
No OneTemporary

D11170.id26819.diff

diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -1918,7 +1918,6 @@
'PhabricatorMailingListsController' => 'applications/mailinglists/controller/PhabricatorMailingListsController.php',
'PhabricatorMailingListsEditController' => 'applications/mailinglists/controller/PhabricatorMailingListsEditController.php',
'PhabricatorMailingListsListController' => 'applications/mailinglists/controller/PhabricatorMailingListsListController.php',
- 'PhabricatorMainMenuGroupView' => 'view/page/menu/PhabricatorMainMenuGroupView.php',
'PhabricatorMainMenuSearchView' => 'view/page/menu/PhabricatorMainMenuSearchView.php',
'PhabricatorMainMenuView' => 'view/page/menu/PhabricatorMainMenuView.php',
'PhabricatorManagementWorkflow' => 'infrastructure/management/PhabricatorManagementWorkflow.php',
@@ -5112,7 +5111,6 @@
'PhabricatorMailingListsController' => 'PhabricatorController',
'PhabricatorMailingListsEditController' => 'PhabricatorMailingListsController',
'PhabricatorMailingListsListController' => 'PhabricatorMailingListsController',
- 'PhabricatorMainMenuGroupView' => 'AphrontView',
'PhabricatorMainMenuSearchView' => 'AphrontView',
'PhabricatorMainMenuView' => 'AphrontView',
'PhabricatorManagementWorkflow' => 'PhutilArgumentWorkflow',
diff --git a/src/view/page/menu/PhabricatorMainMenuGroupView.php b/src/view/page/menu/PhabricatorMainMenuGroupView.php
deleted file mode 100644
--- a/src/view/page/menu/PhabricatorMainMenuGroupView.php
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-
-final class PhabricatorMainMenuGroupView extends AphrontView {
-
- private $collapsible = true;
- private $classes = array();
-
- public function addClass($class) {
- $this->classes[] = $class;
- return $this;
- }
-
- public function setCollapsible($collapsible) {
- $this->collapsible = $collapsible;
- return $this;
- }
-
- public function render() {
- $classes = array(
- 'phabricator-main-menu-group',
- );
-
- if ($this->collapsible) {
- $classes[] = 'phabricator-main-menu-collapsible';
- }
-
- if ($this->classes) {
- $classes = array_merge($classes, $this->classes);
- }
-
- return phutil_tag(
- 'div',
- array(
- 'class' => implode(' ', $classes),
- ),
- $this->renderChildren());
- }
-
-}

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 2:36 PM (3 h, 23 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6926730
Default Alt Text
D11170.id26819.diff (2 KB)

Event Timeline