mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 00:24:21 +02:00
fix globals in discovery modules
git-svn-id: http://www.observium.org/svn/observer/trunk@2234 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
echo("Memory : ");
|
||||
|
||||
global $valid_mempool; ## FIXME PLEASE!
|
||||
|
||||
include_dir("includes/discovery/mempools");
|
||||
|
||||
### Remove memory pools which weren't redetected here
|
||||
@@ -29,4 +31,4 @@ while ($test_mempool = mysql_fetch_assoc($query))
|
||||
unset($valid_mempool);
|
||||
echo("\n");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user