Code Cleanup
- Removed unused 'locale' configuration setting.
This commit is contained in:
1
NEWS
1
NEWS
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -163,7 +163,6 @@ int CmdShow::execute (std::string& output)
|
||||
" json.array"
|
||||
" list.all.projects"
|
||||
" list.all.tags"
|
||||
" locale"
|
||||
" locking"
|
||||
" monthsperline"
|
||||
" nag"
|
||||
|
||||
Reference in New Issue
Block a user