diff --git a/src/aphront/default/configuration/AphrontDefaultApplicationConfiguration.php b/src/aphront/default/configuration/AphrontDefaultApplicationConfiguration.php index 17ece2998f..8c331d235d 100644 --- a/src/aphront/default/configuration/AphrontDefaultApplicationConfiguration.php +++ b/src/aphront/default/configuration/AphrontDefaultApplicationConfiguration.php @@ -70,7 +70,6 @@ class AphrontDefaultApplicationConfiguration ), '/phid/' => array( '$' => 'PhabricatorPHIDLookupController', - 'list/$' => 'PhabricatorPHIDListController', ), '/people/' => array( '$' => 'PhabricatorPeopleListController', diff --git a/src/applications/phid/controller/base/PhabricatorPHIDController.php b/src/applications/phid/controller/base/PhabricatorPHIDController.php index 357164d4f0..f771b278f7 100644 --- a/src/applications/phid/controller/base/PhabricatorPHIDController.php +++ b/src/applications/phid/controller/base/PhabricatorPHIDController.php @@ -24,18 +24,6 @@ abstract class PhabricatorPHIDController extends PhabricatorController { $page->setApplicationName('PHID'); $page->setBaseURI('/phid/'); $page->setTitle(idx($data, 'title')); - $page->setTabs( - array( - 'lookup' => array( - 'href' => '/phid/', - 'name' => 'PHID Lookup', - ), - 'phids' => array( - 'href' => '/phid/list/', - 'name' => 'PHID List', - ), - ), - idx($data, 'tab')); $page->setGlyph('#'); $page->appendChild($view); diff --git a/src/applications/phid/controller/list/PhabricatorPHIDListController.php b/src/applications/phid/controller/list/PhabricatorPHIDListController.php deleted file mode 100644 index 8e1a0dc569..0000000000 --- a/src/applications/phid/controller/list/PhabricatorPHIDListController.php +++ /dev/null @@ -1,60 +0,0 @@ -loadAllWhere( - '1 = 1 ORDER BY id DESC limit 100'); - - $rows = array(); - foreach ($items as $item) { - $rows[] = array( - phutil_escape_html($item->getPHID()), - phutil_escape_html($item->getPHIDType()), - phutil_escape_html($item->getOwnerPHID()), - phutil_escape_html($item->getParentPHID()), - ); - } - - $table = new AphrontTableView($rows); - $table->setHeaders( - array( - 'PHID', - 'Type', - 'Owner PHID', - 'Parent PHID', - )); - - $panel = new AphrontPanelView(); - $panel->appendChild($table); - $panel->setHeader('PHIDs'); - $panel->setCreateButton('Allocate New PHID', '/phid/new/'); - - return $this->buildStandardPageResponse( - array( - $panel, - ), - array( - 'title' => 'PHIDs', - 'tab' => 'phids', - )); - } - -} diff --git a/src/applications/phid/controller/list/__init__.php b/src/applications/phid/controller/list/__init__.php deleted file mode 100644 index 913d4fe3f1..0000000000 --- a/src/applications/phid/controller/list/__init__.php +++ /dev/null @@ -1,18 +0,0 @@ - 'PHID Lookup', - 'tab' => 'lookup', )); }