#13150 hide omnishell
This commit is contained in:
parent
e7fefdebe9
commit
752aa71ecf
|
@ -538,7 +538,7 @@ if ((bool) check_acl($config['id_user'], 0, 'PM') === true || (bool) check_acl($
|
|||
$sub['godmode/setup/links']['id'] = 'links';
|
||||
$sub['tools/diagnostics']['text'] = __('Diagnostic info');
|
||||
$sub['tools/diagnostics']['id'] = 'diagnostic_info';
|
||||
enterprise_hook('omnishell');
|
||||
// enterprise_hook('omnishell');
|
||||
$sub['godmode/setup/news']['text'] = __('Site news');
|
||||
$sub['godmode/setup/news']['id'] = 'site_news';
|
||||
}
|
||||
|
|
|
@ -1653,8 +1653,7 @@ if ($policyTab === ENTERPRISE_NOT_HOOK) {
|
|||
}
|
||||
|
||||
// Omnishell.
|
||||
$tasks = enterprise_hook('count_tasks_agent', [$id_agente]);
|
||||
|
||||
// $tasks = enterprise_hook('count_tasks_agent', [$id_agente]);
|
||||
if ($tasks === true) {
|
||||
$omnishellTab = enterprise_hook('omnishell_tab');
|
||||
if ($omnishellTab == -1) {
|
||||
|
|
Loading…
Reference in New Issue