#11436 Fix notif access stastics performance
This commit is contained in:
parent
f5c4ce872b
commit
eed7ff8aba
|
@ -716,7 +716,7 @@ class ConsoleSupervisor
|
||||||
|
|
||||||
$total_agents = db_get_value('count(*)', 'tagente');
|
$total_agents = db_get_value('count(*)', 'tagente');
|
||||||
|
|
||||||
if ($total_agents >= 200) {
|
if ($total_agents >= 1) {
|
||||||
if ((int) $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(
|
||||||
|
@ -729,6 +729,8 @@ class ConsoleSupervisor
|
||||||
'url' => '__url__/index.php?sec=general&sec2=godmode/setup/setup§ion=perf',
|
'url' => '__url__/index.php?sec=general&sec2=godmode/setup/setup§ion=perf',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
$this->cleanNotifications('NOTIF.ACCESSSTASTICS.PERFORMANCE');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$this->cleanNotifications('NOTIF.ACCESSSTASTICS.PERFORMANCE');
|
$this->cleanNotifications('NOTIF.ACCESSSTASTICS.PERFORMANCE');
|
||||||
|
|
|
@ -233,6 +233,10 @@
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#audit_logs > tbody > tr > td > img {
|
||||||
|
padding-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.table_action_buttons > a,
|
.table_action_buttons > a,
|
||||||
.table_action_buttons > img,
|
.table_action_buttons > img,
|
||||||
.table_action_buttons > button,
|
.table_action_buttons > button,
|
||||||
|
|
Loading…
Reference in New Issue