diff --git a/plone/app/discussion/browser/migration.py b/plone/app/discussion/browser/migration.py index 898eae2..bd59236 100644 --- a/plone/app/discussion/browser/migration.py +++ b/plone/app/discussion/browser/migration.py @@ -6,18 +6,10 @@ from Products.Five.browser import BrowserView from Products.CMFCore.utils import getToolByName -from Products.CMFPlone import PloneMessageFactory as _ - -from Products.statusmessages.interfaces import IStatusMessage - -from Products.CMFCore.interfaces import IContentish - from Products.CMFCore.interfaces._content import IDiscussionResponse import transaction -from zope.component import createObject - from plone.app.discussion.comment import CommentFactory from plone.app.discussion.interfaces import IConversation, IReplies, IComment @@ -44,7 +36,6 @@ class View(BrowserView): transaction.begin() catalog = getToolByName(context, 'portal_catalog') - dtool = context.portal_discussion def log(msg): # encode string before sending it to external world