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:
Timo Stollenwerk 2009-06-22 10:09:11 +00:00
parent 641585b052
commit b757d1b61b

View File

@ -17,11 +17,6 @@ class View(BrowserView):
def cook(self, 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):
self.state = self.request.get('review_state', 'pending')