Merge branch 'ent-11947-16141-notificacion-access-statistics-performance-permanece-en-la-consola-teniendo-los-tokens' into 'develop'
Ent 11947 16141 notificacion access statistics performance permanece en la consola teniendo los tokens See merge request artica/pandorafms!6372
This commit is contained in:
commit
8a41aa7f7a
|
@ -703,7 +703,7 @@ class ConsoleSupervisor
|
||||||
$total_agents = db_get_value('count(*)', 'tagente');
|
$total_agents = db_get_value('count(*)', 'tagente');
|
||||||
|
|
||||||
if ($total_agents >= 200) {
|
if ($total_agents >= 200) {
|
||||||
if ($config['agentaccess'] !== 0) {
|
if ((int) $config['agentaccess'] !== 0) {
|
||||||
db_process_sql_update('tconfig', ['value' => 0], ['token' => 'agentaccess']);
|
db_process_sql_update('tconfig', ['value' => 0], ['token' => 'agentaccess']);
|
||||||
$this->notify(
|
$this->notify(
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue