remove unused required function parameter in nginx cron; set default value for function parameter in lighttpd cron
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -567,7 +567,7 @@ class Lighttpd extends HttpConfigBase
|
||||
return $servernames_text;
|
||||
}
|
||||
|
||||
protected function getWebroot($domain, $ssl)
|
||||
protected function getWebroot($domain, bool $ssl = false)
|
||||
{
|
||||
$webroot_text = '';
|
||||
|
||||
|
||||
@@ -616,7 +616,7 @@ class Nginx extends HttpConfigBase
|
||||
FileDir::mkDirWithCorrectOwnership($domain['customerroot'], $domain['documentroot'], $domain['guid'], $domain['guid'], true);
|
||||
|
||||
$vhost_content .= $this->getLogFiles($domain);
|
||||
$vhost_content .= $this->getWebroot($domain, $ssl_vhost);
|
||||
$vhost_content .= $this->getWebroot($domain);
|
||||
|
||||
if ($this->deactivated == false) {
|
||||
$vhost_content = $this->mergeVhostCustom($vhost_content, $this->createPathOptions($domain)) . "\n";
|
||||
@@ -775,7 +775,7 @@ class Nginx extends HttpConfigBase
|
||||
return $logfiles_text;
|
||||
}
|
||||
|
||||
protected function getWebroot($domain, $ssl)
|
||||
protected function getWebroot($domain)
|
||||
{
|
||||
$webroot_text = '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user