Skip to content

Commit

Permalink
Remove unused code (#1717)
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Oct 1, 2023
1 parent 8abf205 commit 3ad0f05
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions news/1703.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove unused code. @davisagli
2 changes: 0 additions & 2 deletions src/plone/restapi/services/navigation/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ def render_item(self, item, path):

item.update({"items": sub})

if "title" in item and item["title"]:
item["title"] = item["title"]
if "path" in item:
del item["path"]
return item
Expand Down

0 comments on commit 3ad0f05

Please sign in to comment.