mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-30 09:31:11 +01:00
Delegate deletion of accounts, identities & folders
This commit is contained in:
@@ -90,7 +90,10 @@ public interface DaoAccount {
|
||||
@Query("UPDATE account SET `primary` = 0")
|
||||
void resetPrimary();
|
||||
|
||||
@Query("DELETE FROM account WHERE id = :id")
|
||||
void deleteAccount(long id);
|
||||
@Query("UPDATE account SET tbd = 1 WHERE id = :id")
|
||||
int setAccountTbd(long id);
|
||||
|
||||
@Query("DELETE FROM account WHERE tbd = 1")
|
||||
int deleteAccountsTbd();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user