mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Fix coding style part 2
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
<?php
|
||||
|
||||
if (!$os)
|
||||
{
|
||||
if (strstr($sysObjectId, ".1.3.6.1.4.1.1916.2")) { $os = "extremeware"; }
|
||||
if (strstr($sysDescr, "XOS")) { $os = "xos"; }
|
||||
}
|
||||
if (!$os) {
|
||||
if (strstr($sysObjectId, '.1.3.6.1.4.1.1916.2')) {
|
||||
$os = 'extremeware';
|
||||
}
|
||||
|
||||
?>
|
||||
if (strstr($sysDescr, 'XOS')) {
|
||||
$os = 'xos';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user