From b757d1b61b2dc95e1fffef2b1a6c780631c32048 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Mon, 22 Jun 2009 10:09:11 +0000 Subject: [PATCH] format_time method removed from moderation view, since it is not used anymore. svn path=/plone.app.discussion/trunk/; revision=27625 --- plone/app/discussion/browser/moderation.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plone/app/discussion/browser/moderation.py b/plone/app/discussion/browser/moderation.py index 3140eab..132808d 100644 --- a/plone/app/discussion/browser/moderation.py +++ b/plone/app/discussion/browser/moderation.py @@ -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')