commit version 22.12.12447
This commit is contained in:
@ -13,10 +13,11 @@
|
||||
//MOVEME. to includes/entities/wifi.inc.php
|
||||
// Discover an entity by populating/updating a database table and returning an id
|
||||
|
||||
/* I think this is still experimental by adama, pls see discover_entity_definition() common as other entities
|
||||
function discover_entity($device_id, $entity_type, $data)
|
||||
{
|
||||
|
||||
return FALSE;
|
||||
|
||||
if (is_array($GLOBALS['config']['entities'][$entity_type])) {
|
||||
|
||||
$def = $GLOBALS['config']['entities'][$entity_type];
|
||||
@ -26,8 +27,6 @@ function discover_entity($device_id, $entity_type, $data)
|
||||
if (isset($params['table_fields']['index']) && is_array())
|
||||
{
|
||||
|
||||
|
||||
|
||||
} elseif (isset($params['table_fields']['index'])) {
|
||||
|
||||
} else {
|
||||
@ -89,7 +88,6 @@ function discover_entity($device_id, $entity_type, $data)
|
||||
return $id;
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
/**
|
||||
* Discover WIFI Access Point. Returns ap_id.
|
||||
|
Reference in New Issue
Block a user