mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix closing tag best practice, tidy formatting
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
|
||||
if (!$os) {
|
||||
if (preg_match("/^Meraki MR/", $sysDescr)) { $os = "merakimr"; }
|
||||
if (preg_match("/^Meraki MR/", $sysDescr)) {
|
||||
$os = "merakimr";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
|
||||
if (!$os) {
|
||||
if (preg_match("/^Meraki MS/", $sysDescr)) { $os = "merakims"; }
|
||||
if (preg_match("/^Meraki MS/", $sysDescr)) {
|
||||
$os = "merakims";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
|
||||
if (!$os) {
|
||||
if (preg_match("/^Meraki MX/", $sysDescr)) { $os = "merakimx"; }
|
||||
if (preg_match("/^Meraki MX/", $sysDescr)) {
|
||||
$os = "merakimx";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -10,9 +10,6 @@
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
if(empty($hardware)) {
|
||||
$hardware = snmp_get($device, "sysDescr.0", "-Osqv", "SNMPv2-MIB");
|
||||
if (empty($hardware)) {
|
||||
$hardware = snmp_get($device, "sysDescr.0", "-Osqv", "SNMPv2-MIB");
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
@@ -10,9 +10,6 @@
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
if(empty($hardware)) {
|
||||
$hardware = snmp_get($device, "sysDescr.0", "-Osqv", "SNMPv2-MIB");
|
||||
if (empty($hardware)) {
|
||||
$hardware = snmp_get($device, "sysDescr.0", "-Osqv", "SNMPv2-MIB");
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
@@ -10,9 +10,6 @@
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
if(empty($hardware)) {
|
||||
$hardware = snmp_get($device, "sysDescr.0", "-Osqv", "SNMPv2-MIB");
|
||||
if (empty($hardware)) {
|
||||
$hardware = snmp_get($device, "sysDescr.0", "-Osqv", "SNMPv2-MIB");
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user