2012-01-23 Hirofumi Kosaka <kosaka@rworks.jp>

* util/pandora_manage.pl: Fixed mismatch arguments call of
	pandora_create_template_module.

	* lib/PandoraFMS/Core.pm: Fixed misleading comment about
	pandora_create_template_module function signature.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5401 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
hkosaka 2012-01-23 10:45:47 +00:00
parent be2b4b7d10
commit df0a86c6bd
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2012-01-23 Hirofumi Kosaka <kosaka@rworks.jp>
* util/pandora_manage.pl: Fixed mismatch arguments call of
pandora_create_template_module.
* lib/PandoraFMS/Core.pm: Fixed misleading comment about
pandora_create_template_module function signature.
2012-01-20 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Fixed some typos and

View File

@ -1185,7 +1185,7 @@ sub pandora_update_template_module ($$$;$$$) {
}
##########################################################################
=head2 C<< pandora_create_template_module(I<$pa_config>, I<$parameters>, I<$dbh>) >>
=head2 C<< pandora_create_template_module_action(I<$pa_config>, I<$parameters>, I<$dbh>) >>
Create a template action.

View File

@ -1407,7 +1407,7 @@ sub cli_create_template_module() {
my $template_id = get_template_id($dbh,$template_name);
exist_check($template_id,'template',$template_name);
pandora_create_template_module ($conf, $module_id, $template_id, $dbh);
pandora_create_template_module ($conf, $dbh, $module_id, $template_id);
}
##############################################################################