comment out monkey patch of plone.app.vocabularies for now.
svn path=/plone.app.discussion/trunk/; revision=30055
This commit is contained in:
		
							parent
							
								
									aae633cb26
								
							
						
					
					
						commit
						9adff9e869
					
				@ -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
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user