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