2012-02-06 Miguel de Dios <miguel.dedios@artica.es>

* godmode/agentes/module_manager.php: only added a comment for to explain
	the reason because the modules from predictionserver is erased for the
	creation policies modules. The reason is because there aren't the table
	tmodule_synth and some code to apply this kind modules in policy too.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5497 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2012-02-06 14:05:25 +00:00
parent a1a1e24363
commit 85e6fd471b
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2012-02-06 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager.php: only added a comment for to explain
the reason because the modules from predictionserver is erased for the
creation policies modules. The reason is because there aren't the table
tmodule_synth and some code to apply this kind modules in policy too.
2012-02-06 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
pandoradb.postgreSQL.sql

View File

@ -61,6 +61,12 @@ enterprise_hook ('set_enterprise_module_types', array (&$modules));
$sec2 = get_parameter('sec2', '');
if (strstr($sec2, "enterprise/godmode/policies/policies") !== false) {
//It is unset because the policies haven't a table tmodule_synth and the
//some part of code to apply this kind of modules in policy agents.
//But in the future maybe will be good to make this feature, but remember
//the modules to show in syntetic module policy form must be the policy
//modules from the same policy.
unset($modules['predictionserver']);
}