removed some stuff

This commit is contained in:
2019-12-26 05:34:24 +00:00
parent 0b587aaec6
commit dee4e0d751
763 changed files with 71 additions and 158263 deletions
@@ -102,8 +102,11 @@ class SystemNodeProvider implements NodeProviderInterface
return false;
}
$macs = [];
array_walk($addressPaths, function ($addressPath) use (&$macs) {
$macs[] = file_get_contents($addressPath);
if (is_readable($addressPath)) {
$macs[] = file_get_contents($addressPath);
}
});
$macs = array_map('trim', $macs);