format_time method removed from moderation view, since it is not used anymore.
svn path=/plone.app.discussion/trunk/; revision=27625
This commit is contained in:
		
							parent
							
								
									641585b052
								
							
						
					
					
						commit
						b757d1b61b
					
				@ -17,11 +17,6 @@ class View(BrowserView):
 | 
				
			|||||||
    def cook(self, text):
 | 
					    def cook(self, text):
 | 
				
			||||||
        return text
 | 
					        return text
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def format_time(self, time):
 | 
					 | 
				
			||||||
        context = aq_inner(self.context)
 | 
					 | 
				
			||||||
        util = getToolByName(context, 'translation_service')
 | 
					 | 
				
			||||||
        return util.ulocalized_time(time, 1, context, domain='plonelocales')
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    def comments_pending_review(self):
 | 
					    def comments_pending_review(self):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        self.state = self.request.get('review_state', 'pending')
 | 
					        self.state = self.request.get('review_state', 'pending')
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user