diff --git a/src/applications/base/PhabricatorApplication.php b/src/applications/base/PhabricatorApplication.php index 420d126507..e276e035e4 100644 --- a/src/applications/base/PhabricatorApplication.php +++ b/src/applications/base/PhabricatorApplication.php @@ -57,10 +57,6 @@ abstract class PhabricatorApplication abstract public function getName(); - public function getMenuName() { - return $this->getName(); - } - public function getShortDescription() { return pht('%s Application', $this->getName()); } diff --git a/src/applications/differential/application/PhabricatorDifferentialApplication.php b/src/applications/differential/application/PhabricatorDifferentialApplication.php index da40739579..eaa4948eee 100644 --- a/src/applications/differential/application/PhabricatorDifferentialApplication.php +++ b/src/applications/differential/application/PhabricatorDifferentialApplication.php @@ -10,10 +10,6 @@ final class PhabricatorDifferentialApplication extends PhabricatorApplication { return pht('Differential'); } - public function getMenuName() { - return pht('Code Review'); - } - public function getShortDescription() { return pht('Pre-Commit Review'); } diff --git a/src/applications/diffusion/application/PhabricatorDiffusionApplication.php b/src/applications/diffusion/application/PhabricatorDiffusionApplication.php index d42e58b747..90956077fd 100644 --- a/src/applications/diffusion/application/PhabricatorDiffusionApplication.php +++ b/src/applications/diffusion/application/PhabricatorDiffusionApplication.php @@ -6,10 +6,6 @@ final class PhabricatorDiffusionApplication extends PhabricatorApplication { return pht('Diffusion'); } - public function getMenuName() { - return pht('Repositories'); - } - public function getShortDescription() { return pht('Host and Browse Repositories'); } diff --git a/src/applications/maniphest/application/PhabricatorManiphestApplication.php b/src/applications/maniphest/application/PhabricatorManiphestApplication.php index 0075770863..e57b9b545e 100644 --- a/src/applications/maniphest/application/PhabricatorManiphestApplication.php +++ b/src/applications/maniphest/application/PhabricatorManiphestApplication.php @@ -6,10 +6,6 @@ final class PhabricatorManiphestApplication extends PhabricatorApplication { return pht('Maniphest'); } - public function getMenuName() { - return pht('Tasks'); - } - public function getShortDescription() { return pht('Tasks and Bugs'); } diff --git a/src/applications/phame/application/PhabricatorPhameApplication.php b/src/applications/phame/application/PhabricatorPhameApplication.php index f9ee2831b2..9342076ddd 100644 --- a/src/applications/phame/application/PhabricatorPhameApplication.php +++ b/src/applications/phame/application/PhabricatorPhameApplication.php @@ -6,10 +6,6 @@ final class PhabricatorPhameApplication extends PhabricatorApplication { return pht('Phame'); } - public function getMenuName() { - return pht('Blogs'); - } - public function getBaseURI() { return '/phame/'; } diff --git a/src/applications/pholio/application/PhabricatorPholioApplication.php b/src/applications/pholio/application/PhabricatorPholioApplication.php index 4afaeba263..4d80dd12ae 100644 --- a/src/applications/pholio/application/PhabricatorPholioApplication.php +++ b/src/applications/pholio/application/PhabricatorPholioApplication.php @@ -6,10 +6,6 @@ final class PhabricatorPholioApplication extends PhabricatorApplication { return pht('Pholio'); } - public function getMenuName() { - return pht('Design Review'); - } - public function getBaseURI() { return '/pholio/'; } diff --git a/src/applications/phriction/application/PhabricatorPhrictionApplication.php b/src/applications/phriction/application/PhabricatorPhrictionApplication.php index 1b06fd197c..ea91727c76 100644 --- a/src/applications/phriction/application/PhabricatorPhrictionApplication.php +++ b/src/applications/phriction/application/PhabricatorPhrictionApplication.php @@ -6,10 +6,6 @@ final class PhabricatorPhrictionApplication extends PhabricatorApplication { return pht('Phriction'); } - public function getMenuName() { - return pht('Wiki'); - } - public function getShortDescription() { return pht('Wiki Documents'); } diff --git a/src/applications/search/menuitem/PhabricatorApplicationProfileMenuItem.php b/src/applications/search/menuitem/PhabricatorApplicationProfileMenuItem.php index 40275a8d7a..aa42d56cfb 100644 --- a/src/applications/search/menuitem/PhabricatorApplicationProfileMenuItem.php +++ b/src/applications/search/menuitem/PhabricatorApplicationProfileMenuItem.php @@ -31,7 +31,7 @@ final class PhabricatorApplicationProfileMenuItem return $name; } - return $application->getMenuName(); + return $application->getName(); } public function buildEditEngineFields(