mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-24 08:56:43 +02:00
Code Cleanup
- Removed unused 'locale' configuration setting.
This commit is contained in:
parent
a49d1bfbc0
commit
d12a33989a
3 changed files with 1 additions and 7 deletions
1
NEWS
1
NEWS
|
@ -28,6 +28,7 @@ Removed features in 2.4.0
|
||||||
- Version 1.x sort columns no longer supported.
|
- Version 1.x sort columns no longer supported.
|
||||||
- Old-style color names including underscores are no longer supported.
|
- Old-style color names including underscores are no longer supported.
|
||||||
- Removed priority counts from the 'projects' commands.
|
- Removed priority counts from the 'projects' commands.
|
||||||
|
- Removed the unused 'locale' configuration variable.
|
||||||
|
|
||||||
Known Issues
|
Known Issues
|
||||||
|
|
||||||
|
|
|
@ -199,12 +199,6 @@ int Context::initialize (int argc, const char** argv)
|
||||||
// TODO Instantiate extension UDA objects.
|
// TODO Instantiate extension UDA objects.
|
||||||
// TODO Instantiate extension format 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.
|
// Initialize the database.
|
||||||
tdb2.set_location (data_dir);
|
tdb2.set_location (data_dir);
|
||||||
|
|
||||||
|
|
|
@ -163,7 +163,6 @@ int CmdShow::execute (std::string& output)
|
||||||
" json.array"
|
" json.array"
|
||||||
" list.all.projects"
|
" list.all.projects"
|
||||||
" list.all.tags"
|
" list.all.tags"
|
||||||
" locale"
|
|
||||||
" locking"
|
" locking"
|
||||||
" monthsperline"
|
" monthsperline"
|
||||||
" nag"
|
" nag"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue