mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Database: Removed unused ::location
This commit is contained in:
parent
2906408a8d
commit
175f0d63f4
3 changed files with 1 additions and 8 deletions
|
@ -59,12 +59,6 @@ void Database::initialize (const std::string& location)
|
|||
// TODO If there is no data file named YYYY—MM.data, then create it.
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::string Database::location () const
|
||||
{
|
||||
return _location;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::string Database::dump () const
|
||||
{
|
||||
|
|
|
@ -36,7 +36,6 @@ class Database
|
|||
public:
|
||||
Database () = default;
|
||||
void initialize (const std::string&);
|
||||
std::string location () const;
|
||||
std::string dump () const;
|
||||
|
||||
private:
|
||||
|
|
|
@ -132,7 +132,7 @@ int CmdDiagnostics (Rules& rules, Database& database, Extensions& extensions, Lo
|
|||
<< "\n";
|
||||
|
||||
out << " Database: "
|
||||
<< database.location ()
|
||||
<< rules.get ("db") << "/data"
|
||||
<< "\n";
|
||||
|
||||
// Determine rc.editor/$EDITOR/$VISUAL.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue