Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2877661
D25719.1737004873.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
700 B
Referenced Files
None
Subscribers
None
D25719.1737004873.diff
View Options
diff --git a/src/applications/search/engine/PhabricatorProfileMenuEngine.php b/src/applications/search/engine/PhabricatorProfileMenuEngine.php
--- a/src/applications/search/engine/PhabricatorProfileMenuEngine.php
+++ b/src/applications/search/engine/PhabricatorProfileMenuEngine.php
@@ -469,15 +469,6 @@
return $map;
}
- private function validateNavigationMenuItem($item) {
- if (!($item instanceof PHUIListItemView)) {
- throw new Exception(
- pht(
- 'Expected buildNavigationMenuItems() to return a list of '.
- 'PHUIListItemView objects, but got a surprise.'));
- }
- }
-
public function getConfigureURI() {
$mode = $this->getEditMode();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 16, 05:21 (2 w, 10 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1111729
Default Alt Text
D25719.1737004873.diff (700 B)
Attached To
Mode
D25719: Removed unused validateNavigationMenuItem() from PhabricatorProfileMenuEngine
Attached
Detach File
Event Timeline
Log In to Comment