Commit 382d26bd authored by Yoshinori Okuji's avatar Yoshinori Okuji

Do not call _getMessage unnecessarilly.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39307 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ee454a89
......@@ -380,7 +380,6 @@ class EmailDocument(TextDocument):
return self._baseGetTitle()
else:
return self._baseGetTitle(default)
message = self._getMessage()
subject = self.getContentInformation().get('Subject', '')
# Remove all newlines
if '\r' in subject:
......
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