Fix poller enabling graphs for display (#11743)

This commit is contained in:
Tony Murray
2020-05-30 17:42:50 -05:00
committed by GitHub
parent 67cb7b4dc3
commit fa12c4ca2f
5 changed files with 31 additions and 45 deletions

View File

@@ -59,7 +59,7 @@ class OS implements Module
$os->pollOS();
} else {
// legacy poller files
$device = $os->getDevice();
global $graphs, $device;
if (is_file(base_path('/includes/polling/os/' . $device['os'] . '.inc.php'))) {
// OS Specific
include base_path('/includes/polling/os/' . $device['os'] . '.inc.php');