set all unix-like stuff to server, and remove old linux handling (quicker than you, failwindr :)

git-svn-id: http://www.observium.org/svn/observer/trunk@1707 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-09-17 21:30:39 +00:00
parent 9bd38c24c8
commit 46ffe27b2d
2 changed files with 9 additions and 5 deletions
-5
View File
@@ -158,11 +158,6 @@ while ($device = mysql_fetch_array($device_query))
{
$device['type'] = $config['os'][$device['os']]['type'];
}
if ($device['os'] == "linux")
{
if (preg_match("/-server$/", $device['version'])) { $device['type'] = 'server'; }
}
}
$device_end = utime(); $device_run = $device_end - $device_start; $device_time = substr($device_run, 0, 5);