[locale] Remove useless localeglobal

- Although ::init() was called, none of the actual functionality
   from localeglobal was still in use.
This commit is contained in:
Adriaan de Groot 2020-04-14 12:37:22 +02:00
parent 36d9e7d8f4
commit 4b65600c08
10 changed files with 7 additions and 201 deletions

View file

@ -209,7 +209,13 @@ Config::updateGlobalStorage()
const auto* location = currentLocation();
bool locationChanged = ( location->region() != gs->value( "locationRegion" ) )
|| ( location->zone() != gs->value( "locationZone" ) );
#ifdef DEBUG_TIMEZONES
if ( locationChanged )
{
cDebug() << "Location changed" << gs->value( "locationRegion" ) << ',' << gs->value( "locationZone" ) << "to"
<< location->region() << ',' << location->zone();
}
#endif
gs->insert( "locationRegion", location->region() );
gs->insert( "locationZone", location->zone() );