Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14059170
D8638.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D8638.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 5:58 PM (21 h, 27 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6753102
Default Alt Text
D8638.diff (1 KB)
Attached To
Mode
D8638: Fix help menu links for folks with diviner uninstalled
Attached
Detach File
Event Timeline
Log In to Comment