mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
#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['godmode/setup/links']['id'] = 'links';
|
||||||
$sub['tools/diagnostics']['text'] = __('Diagnostic info');
|
$sub['tools/diagnostics']['text'] = __('Diagnostic info');
|
||||||
$sub['tools/diagnostics']['id'] = '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']['text'] = __('Site news');
|
||||||
$sub['godmode/setup/news']['id'] = 'site_news';
|
$sub['godmode/setup/news']['id'] = 'site_news';
|
||||||
}
|
}
|
||||||
|
@ -1653,8 +1653,7 @@ if ($policyTab === ENTERPRISE_NOT_HOOK) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Omnishell.
|
// Omnishell.
|
||||||
$tasks = enterprise_hook('count_tasks_agent', [$id_agente]);
|
// $tasks = enterprise_hook('count_tasks_agent', [$id_agente]);
|
||||||
|
|
||||||
if ($tasks === true) {
|
if ($tasks === true) {
|
||||||
$omnishellTab = enterprise_hook('omnishell_tab');
|
$omnishellTab = enterprise_hook('omnishell_tab');
|
||||||
if ($omnishellTab == -1) {
|
if ($omnishellTab == -1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user