Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
DawoudIO authored and StyleCIBot committed Dec 8, 2024
1 parent 117493b commit 5bfcc42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/v2/routes/email.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function testEmailConnectionMVC(Request $request, Response $response, array $arg

if (empty(SystemConfig::getValue('sSMTPHost'))) {
$message = gettext('SMTP Host is not setup, please visit the settings page');
} else if ( empty(ChurchMetaData::getChurchEmail())) {
} elseif (empty(ChurchMetaData::getChurchEmail())) {
$message = gettext('Church Email not set, please visit the settings page');
} else {
$mailer->IsSMTP();
Expand All @@ -57,7 +57,7 @@ function testEmailConnectionMVC(Request $request, Response $response, array $arg
$mailer->Host = SystemConfig::getValue('sSMTPHost');
if (SystemConfig::getBooleanValue('bSMTPAuth')) {
$mailer->SMTPAuth = true;
LoggerUtils::getAppLogger()->debug( 'SMTP Auth Used');
LoggerUtils::getAppLogger()->debug('SMTP Auth Used');
$mailer->Username = SystemConfig::getValue('sSMTPUser');
$mailer->Password = SystemConfig::getValue('sSMTPPass');
}
Expand Down

0 comments on commit 5bfcc42

Please sign in to comment.