Change "continue" outside of loop to "return"

This commit is contained in:
Kumi 2021-11-24 09:42:54 +01:00
parent 851ce4e77a
commit 7b03eceec9

View file

@ -158,7 +158,7 @@ class email_certificate_task extends \core\task\scheduled_task {
// If there are no users to email we can return early.
if (!$issuedusers) {
continue;
return;
}
// Create a directory to store the PDF we will be sending.