Page MenuHomePhorge

D25776.1739683247.diff
No OneTemporary

D25776.1739683247.diff

diff --git a/src/applications/dashboard/engine/PhabricatorDashboardPortalProfileMenuEngine.php b/src/applications/dashboard/engine/PhabricatorDashboardPortalProfileMenuEngine.php
--- a/src/applications/dashboard/engine/PhabricatorDashboardPortalProfileMenuEngine.php
+++ b/src/applications/dashboard/engine/PhabricatorDashboardPortalProfileMenuEngine.php
@@ -32,21 +32,4 @@
return $items;
}
- protected function newNoMenuItemsView(array $items) {
- $object = $this->getProfileObject();
- $builtins = $this->getBuiltinProfileItems($object);
-
- if (count($items) <= count($builtins)) {
- return $this->newEmptyView(
- pht('New Portal'),
- pht('Use "Edit Menu" to add menu items to this portal.'));
- } else {
- return $this->newNoContentView(
- pht('No Portal Content'),
- pht(
- 'None of the visible menu items in this portal can render any '.
- 'content.'));
- }
- }
-
}

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 16, 05:20 (6 d, 12 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1158498
Default Alt Text
D25776.1739683247.diff (957 B)

Event Timeline