Update email_cron.php

This commit is contained in:
FusionPBX 2017-04-21 04:49:13 -06:00 committed by GitHub
parent 28f960a9f4
commit 1cf849809b
1 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,7 @@
}
//get the failed emails
$sql = "select email_uuid, email from v_emails";
$sql = "select email_uuid, email from v_emails limit 100";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$emails = $prep_statement->fetchAll(PDO::FETCH_NAMED);
@ -45,7 +45,6 @@
unset($sql, $prep_statement);
}
unset($mailer_error);
break;
}
}
unset ($prep_statement, $sql, $emails);