cron/apache

- fix mixed indentation
- fix trailing whitespace (code+resulting vhost config)
This commit is contained in:
Daniel Reichelt
2016-02-22 15:31:23 +01:00
parent 36cf003ed6
commit 82b43948b4

View File

@@ -827,9 +827,7 @@ class apache extends HttpConfigBase {
$vhost_content .= '"' . "\n";
$vhost_content .= ' </IfModule>' . "\n";
}
}
else
{
} else {
// if there is no cert-file specified but we are generating a ssl-vhost,
// we should return an empty string because this vhost would suck dick, ref #1583
$this->logger->logAction(CRON_ACTION, LOG_ERR, $domain['domain'] . ' :: empty certificate file! Cannot create ssl-directives');