Fixed typo that was breaking email notifications regarding moderations.

svn path=/trunk/boinc/; revision=14261
This commit is contained in:
Eric J. Korpela 2007-11-19 17:07:35 +00:00
parent e5c3b749c4
commit d28603a112
1 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ because your postings have not followed our guidelines.
$body .= "\n\nThe moderator gave the following explanation about your suspension:\n"; $body .= "\n\nThe moderator gave the following explanation about your suspension:\n";
$body .= $reason; $body .= $reason;
} }
$success = send_report_list($forum, $user->name." has been banished.", $body); $success = mail_report_list($forum, $user->name." has been banished.", $body);
$success &= send_email($user, $subject, $body); $success &= send_email($user, $subject, $body);
return $success; return $success;
} }
@ -189,7 +189,7 @@ able to resume posting at that time.
$forum = new BoincForum; $forum = new BoincForum;
$forum->parent_type = 0; $forum->parent_type = 0;
$success &= send_report_list($forum, "A banishment vote for ".$user->name." has been started.", $body); $success &= mail_report_list($forum, "A banishment vote for ".$user->name." has been started.", $body);
return $success; return $success;
} }