mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
fixes non-enterprise components
Former-commit-id: c22cec27d981c119531a0049469847b9d1a848eb
This commit is contained in:
parent
ed9b736299
commit
d547024274
@ -337,25 +337,8 @@ class DiscoveryTaskList extends Wizard
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$recon_tasks = db_get_all_rows_sql('SELECT * FROM trecon_task');
|
$recon_tasks = db_get_all_rows_sql('SELECT * FROM trecon_task');
|
||||||
$user_groups = implode(',', array_keys(users_get_groups()));
|
$user_groups = implode(',', array_keys(users_get_groups()));
|
||||||
$defined_tasks = db_get_all_rows_filter(
|
|
||||||
'tuser_task_scheduled',
|
|
||||||
'id_grupo IN ('.$user_groups.')'
|
|
||||||
);
|
|
||||||
|
|
||||||
if (isset($tasks_console) === true
|
|
||||||
&& is_array($tasks_console) === true
|
|
||||||
) {
|
|
||||||
foreach ($tasks_console as $key => $value) {
|
|
||||||
$value['parameters'] = unserialize(
|
|
||||||
$value['parameters']
|
|
||||||
);
|
|
||||||
|
|
||||||
$value['type'] = 'Cron';
|
|
||||||
array_push($recon_tasks, $value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Show network tasks for Recon Server.
|
// Show network tasks for Recon Server.
|
||||||
if ($recon_tasks === false) {
|
if ($recon_tasks === false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user