mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 16:04:35 +02:00
Fix coding style part 2
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
$serial = snmp_get($device, "productSerialNum.0", "-Ovq", "NETAPP-MIB");
|
||||
$hardware = snmp_get($device, "productModel.0", "-Ovq", "NETAPP-MIB");
|
||||
list($version,) = split(":", snmp_get($device, "productVersion.0", "-Ovq", "NETAPP-MIB"));
|
||||
$version = str_replace("NetApp Release ", "", $version);
|
||||
$serial = snmp_get($device, 'productSerialNum.0', '-Ovq', 'NETAPP-MIB');
|
||||
$hardware = snmp_get($device, 'productModel.0', '-Ovq', 'NETAPP-MIB');
|
||||
list($version,) = split(':', snmp_get($device, 'productVersion.0', '-Ovq', 'NETAPP-MIB'));
|
||||
$version = str_replace('NetApp Release ', '', $version);
|
||||
|
||||
Reference in New Issue
Block a user