summarized counts
This commit is contained in:
parent
0ee42fbafe
commit
08aa824f97
|
@ -962,7 +962,13 @@ function update_manager_get_config_values()
|
||||||
'customer_key'
|
'customer_key'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$data = enterprise_hook('license_get_info', [true]);
|
||||||
|
|
||||||
|
if ($data === ENTERPRISE_NOT_HOOK) {
|
||||||
$limit_count = db_get_value_sql('SELECT count(*) FROM tagente');
|
$limit_count = db_get_value_sql('SELECT count(*) FROM tagente');
|
||||||
|
} else {
|
||||||
|
$limit_count = $data['count_enabled'];
|
||||||
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'license' => $license,
|
'license' => $license,
|
||||||
|
|
Loading…
Reference in New Issue