From 83b631413aea78139f3484ef62018bda9f8e5cdc Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Mon, 12 Oct 2009 18:46:03 +0000 Subject: [PATCH] revert r30055, since p.a.d. will not become part of Plone 4. svn path=/plone.app.discussion/trunk/; revision=30462 --- plone/app/discussion/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plone/app/discussion/__init__.py b/plone/app/discussion/__init__.py index 76c0d66..dbed15e 100644 --- a/plone/app/discussion/__init__.py +++ b/plone/app/discussion/__init__.py @@ -3,9 +3,9 @@ # in the search. This will become needless once plone.app.discussion # will become a part of Plone 4. -#import plone.app.vocabularies.types -# -#new_bad_types = list(plone.app.vocabularies.types.BAD_TYPES) -#if 'Discussion Item' in new_bad_types: -# new_bad_types.remove('Discussion Item') -#plone.app.vocabularies.types.BAD_TYPES = new_bad_types \ No newline at end of file +import plone.app.vocabularies.types + +new_bad_types = list(plone.app.vocabularies.types.BAD_TYPES) +if 'Discussion Item' in new_bad_types: + new_bad_types.remove('Discussion Item') +plone.app.vocabularies.types.BAD_TYPES = new_bad_types \ No newline at end of file