]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/cfgroot/location-functions.pl
Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next
[ipfire-2.x.git] / config / cfgroot / location-functions.pl
index b7465c5ef08a72fe9de2cddf28f435a3f9e3de00..fb97eb5892731810050434ca23b8971bdb815682 100644 (file)
@@ -163,9 +163,6 @@ sub get_full_country_name($) {
                # Grab location name from hash.
                $name = $not_iso_3166_location{$code};
        } else {
-               # Init libloc database connection.
-               my $db_handle = &init();
-
                # Get the country name by using the location module.
                $name = &Location::get_country_name($db_handle, $code);
        }