mirror of https://github.com/BOINC/boinc.git
mass email scripts: check for PHP_MAILER properly
This commit is contained in:
parent
f755957919
commit
4616d1d0c3
|
@ -303,7 +303,7 @@ function main() {
|
|||
echo 'All done!' . "\n";
|
||||
}
|
||||
|
||||
if (!$USE_PHPMAILER) {
|
||||
if (!function_exists('make_php_mailer')) {
|
||||
echo "You must use PHPMailer.\n";
|
||||
exit();
|
||||
}
|
||||
|
|
|
@ -312,7 +312,7 @@ function do_lapsed() {
|
|||
mysql_free_result($result);
|
||||
}
|
||||
|
||||
if (!$USE_PHPMAILER) {
|
||||
if (!function_exists('make_php_mailer')) {
|
||||
echo "You must use PHPMailer (http://phpmailer.sourceforge.net)\n";
|
||||
exit();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue