Page MenuHomePhabricator

D19308.diff
No OneTemporary

D19308.diff

diff --git a/src/applications/base/PhabricatorApplication.php b/src/applications/base/PhabricatorApplication.php
--- a/src/applications/base/PhabricatorApplication.php
+++ b/src/applications/base/PhabricatorApplication.php
@@ -57,10 +57,6 @@
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
--- a/src/applications/differential/application/PhabricatorDifferentialApplication.php
+++ b/src/applications/differential/application/PhabricatorDifferentialApplication.php
@@ -10,10 +10,6 @@
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
--- a/src/applications/diffusion/application/PhabricatorDiffusionApplication.php
+++ b/src/applications/diffusion/application/PhabricatorDiffusionApplication.php
@@ -6,10 +6,6 @@
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
--- a/src/applications/maniphest/application/PhabricatorManiphestApplication.php
+++ b/src/applications/maniphest/application/PhabricatorManiphestApplication.php
@@ -6,10 +6,6 @@
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
--- a/src/applications/phame/application/PhabricatorPhameApplication.php
+++ b/src/applications/phame/application/PhabricatorPhameApplication.php
@@ -6,10 +6,6 @@
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
--- a/src/applications/pholio/application/PhabricatorPholioApplication.php
+++ b/src/applications/pholio/application/PhabricatorPholioApplication.php
@@ -6,10 +6,6 @@
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
--- a/src/applications/phriction/application/PhabricatorPhrictionApplication.php
+++ b/src/applications/phriction/application/PhabricatorPhrictionApplication.php
@@ -6,10 +6,6 @@
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
--- a/src/applications/search/menuitem/PhabricatorApplicationProfileMenuItem.php
+++ b/src/applications/search/menuitem/PhabricatorApplicationProfileMenuItem.php
@@ -31,7 +31,7 @@
return $name;
}
- return $application->getMenuName();
+ return $application->getName();
}
public function buildEditEngineFields(

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 2, 3:37 PM (2 d, 21 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7705878
Default Alt Text
D19308.diff (4 KB)

Event Timeline