mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 16:04:35 +02:00
Fix coding style part 2
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
<?php
|
||||
|
||||
if (!$os)
|
||||
{
|
||||
if (preg_match("/^VMware ESX/", $sysDescr)) { $os = "vmware"; }
|
||||
if (!$os) {
|
||||
if (preg_match('/^VMware ESX/', $sysDescr)) {
|
||||
$os = 'vmware';
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user