remove author_username variable, because it is unused.

svn path=/plone.app.discussion/trunk/; revision=39325
This commit is contained in:
Timo Stollenwerk 2010-08-28 19:54:57 +00:00
parent 87b2c5dd02
commit cef90c576b

View File

@ -105,7 +105,6 @@ class CommentForm(extensible.ExtensibleForm, form.Form):
title = u"" title = u""
text = u"" text = u""
author_name = u"" author_name = u""
author_username = u""
author_email = u"" author_email = u""
#author_notification = None #author_notification = None
@ -129,8 +128,7 @@ class CommentForm(extensible.ExtensibleForm, form.Form):
text = data['text'] text = data['text']
if 'author_name' in data: if 'author_name' in data:
author_name = data['author_name'] author_name = data['author_name']
if 'author_username' in data:
author_username = data['author_username']
if 'author_email' in data: if 'author_email' in data:
author_email = data['author_email'] author_email = data['author_email']
#if 'author_notification' in data: #if 'author_notification' in data: