mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 03:19:24 +01:00
Simplify folder apply all
This commit is contained in:
@@ -291,13 +291,10 @@ public interface DaoFolder {
|
||||
int sync_days, int keep_days, boolean auto_delete);
|
||||
|
||||
@Query("UPDATE folder" +
|
||||
" SET poll = :poll" +
|
||||
", download = :download" +
|
||||
", sync_days = :sync_days" +
|
||||
", keep_days = :keep_days" +
|
||||
" SET sync_days = :sync_days, keep_days = :keep_days" +
|
||||
" WHERE account = :account" +
|
||||
" AND type = '" + EntityFolder.USER + "'")
|
||||
int setFolderProperties(long account, boolean poll, boolean download, int sync_days, int keep_days);
|
||||
int setFolderProperties(long account, int sync_days, int keep_days);
|
||||
|
||||
@Query("UPDATE folder SET keywords = :keywords WHERE id = :id")
|
||||
int setFolderKeywords(long id, String keywords);
|
||||
|
||||
Reference in New Issue
Block a user