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:
mdtrooper 2011-02-15 11:41:28 +00:00
parent 5668e77202
commit b85070694e
2 changed files with 13 additions and 0 deletions

View File

@ -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>
* godmode/groups/group_list.php: moved check ACL bottom the ajax call and

View File

@ -55,6 +55,12 @@ if ($prediction_available)
$modules['predictionserver'] = __('Create a new prediction server module');
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_input_hidden ('edit_module', 1);
echo '</td>';