Parcourir la source

removed dirty hack

Roman Dmitriev il y a 2 ans
Parent
commit
e0da26cdf6
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  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; }