From a4f78e84f059bd083a6415991dbc83d889e12dcf Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Thu, 15 Sep 2011 15:45:11 +0000 Subject: [PATCH] fix cpu detection, and probably other stuff git-svn-id: http://www.observium.org/svn/observer/trunk@2468 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/discovery/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/discovery/functions.inc.php b/includes/discovery/functions.inc.php index 74f4c2c69..511f82e2a 100644 --- a/includes/discovery/functions.inc.php +++ b/includes/discovery/functions.inc.php @@ -41,8 +41,8 @@ function discover_new_device($hostname) function discover_device($device, $options = NULL) { + global $config, $valid; - global $config; $valid = array(); ## Reset $valid array $attribs = get_dev_attribs($device['device_id']);