Adjust CGI files to work with latest location-function.pl changes.

Fixes #12515.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Stefan Schantl
2020-11-07 19:47:24 +01:00
committed by Michael Tremer
parent 427190d578
commit 07e42be978
11 changed files with 17 additions and 47 deletions

View File

@@ -52,11 +52,8 @@ print<<END;
</tr>
END
# Init libloc database connection.
my $db_handle = &Location::Functions::init();
# Get a list of all supported country codes.
my @countries = &Location::database_countries($db_handle);
my @countries = &Location::database_countries();
# Loop through whole country list.
foreach my $country (@countries) {