mirror of https://github.com/M66B/FairEmail.git
Cleanup
This commit is contained in:
parent
5aba045288
commit
a2c71529bc
|
@ -37,9 +37,6 @@ public interface DaoAccount {
|
|||
" ORDER BY `order`, `primary` DESC, name COLLATE NOCASE")
|
||||
List<EntityAccount> getSynchronizingAccounts();
|
||||
|
||||
@Query("SELECT * FROM account WHERE tbd = 1")
|
||||
List<EntityAccount> getAccountsTbd();
|
||||
|
||||
@Query("SELECT * FROM account WHERE synchronize")
|
||||
LiveData<List<EntityAccount>> liveSynchronizingAccounts();
|
||||
|
||||
|
@ -139,9 +136,6 @@ public interface DaoAccount {
|
|||
@Query("UPDATE account SET tbd = 1 WHERE id = :id")
|
||||
int setAccountTbd(long id);
|
||||
|
||||
@Query("UPDATE account SET last_connected = NULL")
|
||||
int clearAccountConnected();
|
||||
|
||||
@Query("DELETE FROM account WHERE id = :id")
|
||||
int deleteAccount(long id);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue