mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 11:25:13 +01:00
Reset operation states on boot
This commit is contained in:
@@ -127,6 +127,9 @@ public interface DaoOperation {
|
||||
@Query("UPDATE operation SET state = :state WHERE id = :id")
|
||||
int setOperationState(long id, String state);
|
||||
|
||||
@Query("UPDATE operation SET state = NULL")
|
||||
int resetOperationStates();
|
||||
|
||||
@Query("UPDATE operation SET error = :error WHERE id = :id")
|
||||
int setOperationError(long id, String error);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user