mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 00:57:19 +02:00
Remove references to TDB2::read_only
A TC replica is always read-write.
This commit is contained in:
parent
f452100588
commit
35c8ce2ccb
3 changed files with 1 additions and 22 deletions
10
src/TDB2.cpp
10
src/TDB2.cpp
|
@ -1261,16 +1261,6 @@ bool TDB2::verifyUniqueUUID (const std::string& uuid)
|
|||
return pending.id (uuid) != 0 ? false : true;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool TDB2::read_only ()
|
||||
{
|
||||
return pending._read_only ||
|
||||
completed._read_only ||
|
||||
undo._read_only ||
|
||||
backlog._read_only
|
||||
;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int TDB2::num_local_changes ()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue