diff --git a/Products/CMFPlone/Portal.py b/Products/CMFPlone/Portal.py index 570e80c24f..cbf4c91149 100644 --- a/Products/CMFPlone/Portal.py +++ b/Products/CMFPlone/Portal.py @@ -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 @@ -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 @@ -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) diff --git a/news/3833.bugfix b/news/3833.bugfix new file mode 100644 index 0000000000..d299575e40 --- /dev/null +++ b/news/3833.bugfix @@ -0,0 +1 @@ +Make PloneSite have IContentish again. @Akshat2Jain @jaroel