Page MenuHomePhabricator

D8638.diff
No OneTemporary

D8638.diff

diff --git a/src/applications/diviner/application/PhabricatorApplicationDiviner.php b/src/applications/diviner/application/PhabricatorApplicationDiviner.php
--- a/src/applications/diviner/application/PhabricatorApplicationDiviner.php
+++ b/src/applications/diviner/application/PhabricatorApplicationDiviner.php
@@ -45,29 +45,4 @@
);
}
- public function buildMainMenuItems(
- PhabricatorUser $user,
- PhabricatorController $controller = null) {
-
- $items = array();
-
- $application = null;
- if ($controller) {
- $application = $controller->getCurrentApplication();
- }
-
- if ($application && $application->getHelpURI()) {
- $item = id(new PHUIListItemView())
- ->setName(pht('%s Help', $application->getName()))
- ->addClass('core-menu-item')
- ->setIcon('info-sm')
- ->setOrder(200)
- ->setHref($application->getHelpURI());
- $items[] = $item;
- }
-
- return $items;
- }
-
-
}
diff --git a/src/applications/help/application/PhabricatorApplicationHelp.php b/src/applications/help/application/PhabricatorApplicationHelp.php
--- a/src/applications/help/application/PhabricatorApplicationHelp.php
+++ b/src/applications/help/application/PhabricatorApplicationHelp.php
@@ -19,4 +19,28 @@
);
}
+ public function buildMainMenuItems(
+ PhabricatorUser $user,
+ PhabricatorController $controller = null) {
+
+ $items = array();
+
+ $application = null;
+ if ($controller) {
+ $application = $controller->getCurrentApplication();
+ }
+
+ if ($application && $application->getHelpURI()) {
+ $item = id(new PHUIListItemView())
+ ->setName(pht('%s Help', $application->getName()))
+ ->addClass('core-menu-item')
+ ->setIcon('info-sm')
+ ->setOrder(200)
+ ->setHref($application->getHelpURI());
+ $items[] = $item;
+ }
+
+ return $items;
+ }
+
}

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 8:25 AM (10 h, 10 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6925620
Default Alt Text
D8638.diff (1 KB)

Event Timeline