mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager.php: erased the "prediction module" for policy view. Fixes: #3175826 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3841 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
e0e545010e
commit
20fb023df5
@ -1,3 +1,10 @@
|
|||||||
|
2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* godmode/agentes/module_manager.php: erased the "prediction module" for
|
||||||
|
policy view.
|
||||||
|
|
||||||
|
Fixes: #3175826
|
||||||
|
|
||||||
2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
|
2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* godmode/groups/group_list.php: moved check ACL bottom the ajax call and
|
* godmode/groups/group_list.php: moved check ACL bottom the ajax call and
|
||||||
|
@ -55,6 +55,12 @@ if ($prediction_available)
|
|||||||
$modules['predictionserver'] = __('Create a new prediction server module');
|
$modules['predictionserver'] = __('Create a new prediction server module');
|
||||||
|
|
||||||
enterprise_hook ('set_enterprise_module_types', array (&$modules));
|
enterprise_hook ('set_enterprise_module_types', array (&$modules));
|
||||||
|
|
||||||
|
$sec2 = get_parameter('sec2', '');
|
||||||
|
if (strstr($sec2, "enterprise/godmode/policies/policies") !== false) {
|
||||||
|
unset($modules['predictionserver']);
|
||||||
|
}
|
||||||
|
|
||||||
print_select ($modules, 'moduletype', '', '', '', '', false, false, false);
|
print_select ($modules, 'moduletype', '', '', '', '', false, false, false);
|
||||||
print_input_hidden ('edit_module', 1);
|
print_input_hidden ('edit_module', 1);
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user