mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update code in includes to be PSR-2 compliant (#4220)
refactor: Update code in /includes to be psr2 compliant #4220
This commit is contained in:
committed by
Neil Lathwood
parent
3c0fcdd46b
commit
9284bc60ff
@@ -9,8 +9,7 @@ $name = 'powerdns';
|
||||
$app_id = $app['app_id'];
|
||||
if ($agent_data['app'][$name]) {
|
||||
$powerdns = $agent_data['app'][$name];
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$powerdns = snmp_get($device, $oid, $options, $mib);
|
||||
}
|
||||
|
||||
@@ -75,4 +74,3 @@ $fields = array(
|
||||
|
||||
$tags = compact('name', 'app_id', 'rrd_name', 'rrd_def');
|
||||
data_update($device, 'app', $tags, $fields);
|
||||
|
||||
|
Reference in New Issue
Block a user