From cef90c576b6ab964cad87e678881a2af067a4d12 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Sat, 28 Aug 2010 19:54:57 +0000 Subject: [PATCH] remove author_username variable, because it is unused. svn path=/plone.app.discussion/trunk/; revision=39325 --- plone/app/discussion/browser/comments.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plone/app/discussion/browser/comments.py b/plone/app/discussion/browser/comments.py index 886294a..ff74ee1 100644 --- a/plone/app/discussion/browser/comments.py +++ b/plone/app/discussion/browser/comments.py @@ -105,7 +105,6 @@ class CommentForm(extensible.ExtensibleForm, form.Form): title = u"" text = u"" author_name = u"" - author_username = u"" author_email = u"" #author_notification = None @@ -129,8 +128,7 @@ class CommentForm(extensible.ExtensibleForm, form.Form): text = data['text'] if 'author_name' in data: author_name = data['author_name'] - if 'author_username' in data: - author_username = data['author_username'] + if 'author_email' in data: author_email = data['author_email'] #if 'author_notification' in data: