mirror of
https://github.com/librenms/librenms.git
synced 2024-09-28 22:06:25 +00:00
Merge pull request #1434 from paulgear/pr-1402-scrutinizer
Fix closing tag best practice, tidy formatting
This commit is contained in:
commit
e2b1c548f7
@ -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)) {
|
||||
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)) {
|
||||
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)) {
|
||||
if (empty($hardware)) {
|
||||
$hardware = snmp_get($device, "sysDescr.0", "-Osqv", "SNMPv2-MIB");
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user