mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
www/c-icap: style fixes
This commit is contained in:
@@ -32,7 +32,8 @@ function cicap_services()
|
||||
|
||||
$services = array();
|
||||
|
||||
if (isset($config['OPNsense']['cicap']['general']['enabled']) && $config['OPNsense']['cicap']['general']['enabled'] == 1) {
|
||||
if (isset($config['OPNsense']['cicap']['general']['enabled']) &&
|
||||
$config['OPNsense']['cicap']['general']['enabled'] == 1) {
|
||||
$services[] = array(
|
||||
'description' => gettext('C-ICAP server'),
|
||||
'configd' => array(
|
||||
|
||||
+4
-4
@@ -37,10 +37,10 @@ use OPNsense\Core\Backend;
|
||||
*/
|
||||
class ServiceController extends ApiMutableServiceControllerBase
|
||||
{
|
||||
static $internalServiceClass = '\OPNsense\CICAP\General';
|
||||
static $internalServiceTemplate = 'OPNsense/CICAP';
|
||||
static $internalServiceEnabled = 'enabled';
|
||||
static $internalServiceName = 'cicap';
|
||||
static protected $internalServiceClass = '\OPNsense\CICAP\General';
|
||||
static protected $internalServiceTemplate = 'OPNsense/CICAP';
|
||||
static protected $internalServiceEnabled = 'enabled';
|
||||
static protected $internalServiceName = 'cicap';
|
||||
|
||||
/**
|
||||
* check if ClamAV plugin is installed
|
||||
|
||||
Reference in New Issue
Block a user