fix that conversation.enabled wasn't called. evilbungle fix.
svn path=/plone.app.discussion/trunk/; revision=29432
This commit is contained in:
		
							parent
							
								
									1c3aa5e9b5
								
							
						
					
					
						commit
						f7f10a5572
					
				@ -307,7 +307,7 @@ class CommentsViewlet(ViewletBase, layout.FormWrapper):
 | 
			
		||||
    def is_discussion_allowed(self):
 | 
			
		||||
        context = aq_inner(self.context)
 | 
			
		||||
        conversation = IConversation(context)
 | 
			
		||||
        return conversation.enabled
 | 
			
		||||
        return conversation.enabled()
 | 
			
		||||
 | 
			
		||||
    def get_replies(self, workflow_actions=False):
 | 
			
		||||
        context = aq_inner(self.context)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user