Removed bogus and buggy Memcached reference from html/pages/ports.inc.php to avoid duplicates.

This commit is contained in:
f0o
2015-01-07 15:34:14 +00:00
parent b37a408f62
commit bc4c121fb6

View File

@@ -333,21 +333,6 @@ list($format, $subformat) = explode("_", $vars['format']);
$ports = dbFetchRows($query, $param);
// FIXME - only populate what we need to search at this point, because we shouldn't show *all* ports, as it's silly.
foreach ($ports as $port)
{
if ($config['memcached']['enable'])
{
if ($config['memcached']['enable'])
{
$state = $memcache->get('port-'.$port['port_id'].'-state');
if(is_array($state)) { $ports[$port['port_id']] = array_merge($port, $state); }
unset($state);
}
}
}
switch ($vars['sort'])
{
case 'traffic':