Fix coding style part 2

This commit is contained in:
Job Snijders
2015-07-13 20:10:26 +02:00
parent ad9590df9b
commit d8693f05ae
733 changed files with 37359 additions and 33947 deletions
@@ -1,14 +1,11 @@
<?php
if ($device['os'] == "powerconnect")
{
echo("Powerconnect: ");
if ($device['os'] == 'powerconnect') {
echo 'Powerconnect: ';
$free = snmp_get($device, "dellLanExtension.6132.1.1.1.1.4.1.0", "-OvQ", "Dell-Vendor-MIB");
$free = snmp_get($device, 'dellLanExtension.6132.1.1.1.1.4.1.0', '-OvQ', 'Dell-Vendor-MIB');
if (is_numeric($free))
{
discover_mempool($valid_mempool, $device, 0, "powerconnect-cpu", "CPU Memory", "1", NULL, NULL);
}
if (is_numeric($free)) {
discover_mempool($valid_mempool, $device, 0, 'powerconnect-cpu', 'CPU Memory', '1', null, null);
}
}
?>