Explorar el Código

removed dirty hack

Roman Dmitriev hace 2 años
padre
commit
e0da26cdf6
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      html/admin/devices/index-tree.php

+ 0 - 2
html/admin/devices/index-tree.php

@@ -42,8 +42,6 @@ $dev_id=$row['id'];
 $dev_hash[$dev_id]['id']=$dev_id;
 $dev_hash[$dev_id]['name']=$row['device_name'];
 $dev_hash[$dev_id]['type']=$row['device_type'];
-//gateway
-if ($row['user_acl'] and $row['device_type'] == 2) { $dev_hash[$dev_id]['type']=0; }
 $pSQL = 'SELECT * FROM device_ports WHERE uplink = 1 and device_id='.$dev_id;
 $uplink = get_record_sql($db_link,$pSQL);
 if (empty($uplink)) { continue; }