Merge pull request #1434 from paulgear/pr-1402-scrutinizer

Fix closing tag best practice, tidy formatting
This commit is contained in:
Daniel Preussker 2015-07-11 10:37:43 +02:00
commit e2b1c548f7
6 changed files with 15 additions and 24 deletions

View File

@ -11,7 +11,7 @@
*/
if (!$os) {
if (preg_match("/^Meraki MR/", $sysDescr)) { $os = "merakimr"; }
if (preg_match("/^Meraki MR/", $sysDescr)) {
$os = "merakimr";
}
}
?>

View File

@ -11,7 +11,7 @@
*/
if (!$os) {
if (preg_match("/^Meraki MS/", $sysDescr)) { $os = "merakims"; }
if (preg_match("/^Meraki MS/", $sysDescr)) {
$os = "merakims";
}
}
?>

View File

@ -11,7 +11,7 @@
*/
if (!$os) {
if (preg_match("/^Meraki MX/", $sysDescr)) { $os = "merakimx"; }
if (preg_match("/^Meraki MX/", $sysDescr)) {
$os = "merakimx";
}
}
?>

View File

@ -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");
}
?>

View File

@ -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");
}
?>

View File

@ -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");
}
?>