Skip to content

Commit

Permalink
pa.discussion as core-addon
Browse files Browse the repository at this point in the history
remove impossible values, since there never is the construction allowed of these two
see vocabulary plone.app.vocabularies.PortalTypes and https://github.com/zopefoundation/Products.CMFCore/blob/8d765b8ce7ec4e053e58f5c8dc45d08db01ce3e0/src/Products/CMFCore/TypesTool.py#L768
  • Loading branch information
jensens committed May 30, 2024
1 parent e210fe2 commit df68d4b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/plone/base/interfaces/controlpanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1015,11 +1015,7 @@ class ISearchSchema(Interface):
"off here or by the relevant installer."
),
required=False,
default=(
"Discussion Item",
"Plone Site",
"TempFolder",
),
default=(),
missing_value=(),
value_type=schema.Choice(source="plone.app.vocabularies.PortalTypes"),
)
Expand Down

0 comments on commit df68d4b

Please sign in to comment.