refactor: Cleanup poller include files (#4751)

This commit is contained in:
Neil Lathwood
2016-10-15 00:43:14 +01:00
committed by GitHub
parent 56557f68a4
commit 5b96c67ec5
15 changed files with 10 additions and 70 deletions

View File

@@ -679,22 +679,17 @@ foreach ($ports as $port) {
// End Update PAgP
// Do EtherLike-MIB
if ($config['enable_ports_etherlike']) {
include 'port-etherlike.inc.php';
include 'ports/port-etherlike.inc.php';
}
// Do ADSL MIB
if ($config['enable_ports_adsl']) {
include 'port-adsl.inc.php';
include 'ports/port-adsl.inc.php';
}
// Do PoE MIBs
if ($config['enable_ports_poe']) {
include 'port-poe.inc.php';
}
// Do Alcatel Detailed Stats
if ($device['os'] == 'aos') {
include 'port-alcatel.inc.php';
include 'ports/port-poe.inc.php';
}
foreach ($port['update'] as $key => $val_check) {