X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=config%2Fcfgroot%2Flocation-functions.pl;fp=config%2Fcfgroot%2Flocation-functions.pl;h=fb97eb5892731810050434ca23b8971bdb815682;hp=b7465c5ef08a72fe9de2cddf28f435a3f9e3de00;hb=aa9dd5386cfac0ea069c4f6d51628e3d7ea56458;hpb=460741fd148107b5e189d5649009c4ab36007855 diff --git a/config/cfgroot/location-functions.pl b/config/cfgroot/location-functions.pl index b7465c5ef0..fb97eb5892 100644 --- a/config/cfgroot/location-functions.pl +++ b/config/cfgroot/location-functions.pl @@ -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); }