Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14413733
D11170.id26819.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D11170.id26819.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11170: Remove unused `PhabricatorMainMenuGroupView` class
Attached
Detach File
Event Timeline
Log In to Comment