Comment out sendMail method in SOGoDraftObject and replace its sole known usage by sendMailAndCopyToSent.

In a 2011-09-26 commit (in Changelog.old), I understand the author wanted to
phase sendMail out and replace it by sendMailAndCopyToSent.  Since there are
compilation warnings related to sendMail, removing the sendMail method and
replacing the sole call to it seemed like the cleanest way.
This commit is contained in:
Patrice Levesque committed 2016-03-07 10:34:41 -05:00
1 parent fc9dde885b
commit a813e38897
3 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -869,7 +869,7 @@ static NSArray *infoKeys = nil;
{
error = [self validateForSend];
if (!error)
error = [co sendMail];
error = [co sendMailAndCopyToSent: false];
else
error = [self failedToSaveFormResponse: [error reason]];
}