Commit 9579799c authored by Yusei Tahara's avatar Yusei Tahara

Remove unused variables. Remove space.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20962 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4d401af0
......@@ -220,7 +220,7 @@ class NotificationTool(BaseTool):
# high-level interface
security.declareProtected(Permissions.UseMailhostServices, 'sendMessage')
def sendMessage(self, sender=None, recipient=None, subject=None,
def sendMessage(self, sender=None, recipient=None, subject=None,
message=None, attachment_document_list=None,
notifier_list=None, priority_level=None,
store_as_event=False,
......@@ -265,11 +265,6 @@ class NotificationTool(BaseTool):
portal = self.getPortalObject()
catalog_tool = getToolByName(self, 'portal_catalog')
# Find Default Values
default_from_email = portal.email_from_address
default_to_email = getattr(portal, 'email_to_address',
default_from_email)
# Find "From" Person
from_person = None
if isinstance(sender, basestring):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment