Skip to content

Commit

Permalink
add retrocompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-bellenghi committed Jul 10, 2024
1 parent e7e32bd commit d6d9d54
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/redturtle/volto/adapters/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,13 @@
provides="plone.base.interfaces.syndication.IFeedItem"
for="redturtle.volto.interfaces.ICustomFeedItem
plone.base.interfaces.syndication.IFeed"
zcml:condition="have plone-60"
/>
<adapter
factory=".rss.CustomFeedItem"
provides="Products.CMFPlone.interfaces.syndication.IFeedItem"
for="redturtle.volto.interfaces.ICustomFeedItem
Products.CMFPlone.interfaces.syndication.IFeed"
zcml:condition="not-have plone-60"
/>
</configure>

0 comments on commit d6d9d54

Please sign in to comment.