mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Apply "Squiz" code style on old (pre-2014) files
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
<?php
|
||||
|
||||
preg_match("/v(.*)/", $poll_device['sysDescr'], $matches);
|
||||
preg_match('/v(.*)/', $poll_device['sysDescr'], $matches);
|
||||
|
||||
$version = (isset($matches[1]) ? $matches[1] : "");
|
||||
//$hardware = "Still need to figger hardware out!";
|
||||
//$serial = "Still need to figger serial out!";
|
||||
//$features = "Still need to figger features out!";
|
||||
|
||||
?>
|
||||
$version = (isset($matches[1]) ? $matches[1] : '');
|
||||
// $hardware = "Still need to figger hardware out!";
|
||||
// $serial = "Still need to figger serial out!";
|
||||
// $features = "Still need to figger features out!";
|
||||
|
Reference in New Issue
Block a user