Fix coding style part 2

This commit is contained in:
Job Snijders
2015-07-14 17:41:54 +02:00
parent ad9590df9b
commit 361653aa81
731 changed files with 37529 additions and 33991 deletions
+6 -4
View File
@@ -1,11 +1,13 @@
<?php
$canopy_type = snmp_get($device,"boxDeviceType.0", "-Oqv", "WHISP-BOX-MIBV2-MIB");
$canopy_type = snmp_get($device, 'boxDeviceType.0', '-Oqv', 'WHISP-BOX-MIBV2-MIB');
if (stristr($canopy_type,"MIMO OFDM")) {
if (stristr($canopy_type, 'MIMO OFDM')) {
$hardware = 'PMP 450';
} elseif (stristr($canopy_type,"OFDM")) {
}
else if (stristr($canopy_type, 'OFDM')) {
$hardware = 'PMP 430';
} else {
}
else {
$hardware = 'PMP 100';
}