Skip to content

Commit

Permalink
Apply fixes from StyleCI (#7206)
Browse files Browse the repository at this point in the history
This pull request applies code style fixes from an analysis carried out
by [StyleCI](https://github.styleci.io).

---

For more information, click
[here](https://github.styleci.io/analyses/KoMAD6).
  • Loading branch information
DAcodedBEAT authored Dec 9, 2024
2 parents 117493b + 5bfcc42 commit 5bf08ce
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 5bf08ce

Please sign in to comment.