Code Cleanup

- Removed unused 'locale' configuration setting.
This commit is contained in:
Paul Beckingham 2014-04-13 15:53:46 -04:00
parent a49d1bfbc0
commit d12a33989a
3 changed files with 1 additions and 7 deletions

1
NEWS
View file

@ -28,6 +28,7 @@ Removed features in 2.4.0
- Version 1.x sort columns no longer supported.
- Old-style color names including underscores are no longer supported.
- Removed priority counts from the 'projects' commands.
- Removed the unused 'locale' configuration variable.
Known Issues

View file

@ -199,12 +199,6 @@ int Context::initialize (int argc, const char** argv)
// TODO Instantiate extension UDA objects.
// TODO Instantiate extension format objects.
// If there is a locale variant (en-US.<variant>), then strip it.
std::string locale = config.get ("locale");
std::string::size_type period = locale.find ('.');
if (period != std::string::npos)
locale = locale.substr (0, period);
// Initialize the database.
tdb2.set_location (data_dir);

View file

@ -163,7 +163,6 @@ int CmdShow::execute (std::string& output)
" json.array"
" list.all.projects"
" list.all.tags"
" locale"
" locking"
" monthsperline"
" nag"