revert r30055, since p.a.d. will not become part of Plone 4.

svn path=/plone.app.discussion/trunk/; revision=30462
This commit is contained in:
Timo Stollenwerk 2009-10-12 18:46:03 +00:00
parent b09d42e505
commit 83b631413a
1 changed files with 6 additions and 6 deletions

View File

@ -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
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