Skip to content

Commit

Permalink
Merge pull request #3836 from plone/undo_icontentish
Browse files Browse the repository at this point in the history
undo icontentish interface
  • Loading branch information
mauritsvanrees authored Oct 24, 2023
2 parents 621edb0 + 8a08ea3 commit 6a8eb55
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 0 additions & 7 deletions Products/CMFPlone/Portal.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from plone.base.permissions import View
from plone.dexterity.content import Container
from Products.CMFCore import permissions
from Products.CMFCore.interfaces import IContentish
from Products.CMFCore.interfaces import ISiteRoot
from Products.CMFCore.permissions import AccessContentsInformation
from Products.CMFCore.permissions import AddPortalMember
Expand All @@ -32,8 +31,6 @@
from Products.CMFPlone import bbb
from Products.Five.component.interfaces import IObjectManagerSite
from zope.event import notify
from zope.interface import classImplementsOnly
from zope.interface import implementedBy
from zope.interface import implementer
from zope.interface.interfaces import ComponentLookupError
from zope.traversing.interfaces import BeforeTraverseEvent
Expand Down Expand Up @@ -222,8 +219,4 @@ def isEffective(self, date):
return 1


# Remove the IContentish interface so we don't listen to events that won't
# apply to the site root, ie handleUidAnnotationEvent
classImplementsOnly(PloneSite, implementedBy(PloneSite) - IContentish)

InitializeClass(PloneSite)
1 change: 1 addition & 0 deletions news/3833.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Make PloneSite have IContentish again. @Akshat2Jain @jaroel

0 comments on commit 6a8eb55

Please sign in to comment.