mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
security/acme-client: style sweep
This commit is contained in:
parent
fee8f412d1
commit
e44716bda6
3 changed files with 8 additions and 9 deletions
|
|
@ -35,10 +35,10 @@
|
|||
* Fornex DNS API
|
||||
* @package OPNsense\AcmeClient
|
||||
*/
|
||||
class DnsFornex extends Base implements LeValidationInterface
|
||||
{
|
||||
public function prepare()
|
||||
{
|
||||
$this->acme_env['FORNEX_API_KEY'] = (string)$this->config->dns_fornex_api_key;
|
||||
}
|
||||
}
|
||||
class DnsFornex extends Base implements LeValidationInterface
|
||||
{
|
||||
public function prepare()
|
||||
{
|
||||
$this->acme_env['FORNEX_API_KEY'] = (string)$this->config->dns_fornex_api_key;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,4 +38,3 @@ class DnsMydnsjp extends Base implements LeValidationInterface
|
|||
$this->acme_env['MYDNSJP_Password'] = (string)$this->config->dns_mydnsjp_password;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ class AcmeClient extends BaseModel
|
|||
$backend = new Backend();
|
||||
$_package_list = $backend->configdRun('firmware local');
|
||||
if (preg_match("/^$name\|\|.*/m", $_package_list)) {
|
||||
return 1;
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue