ids.cgi: Fix function call of get_used_provider_rulesfile_file().

The function is locatated in the IDS module and therefore needs to be
called from there.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2021-04-02 10:04:21 +02:00
parent eade546821
commit ce40fddefc

View File

@@ -885,7 +885,7 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'ids apply'}) {
&IDS::drop_dl_rulesfile($provider);
# Get the name of the provider rulessets include file.
my $provider_used_rulefile = &get_used_provider_rulesfile_file($provider);
my $provider_used_rulefile = &IDS::get_used_provider_rulesfile_file($provider);
# Drop the file, it is not longer needed.
unlink("$provider_used_rulefile");