Refactoring

This commit is contained in:
M66B 2019-07-24 22:01:55 +02:00
parent 861c6da4b9
commit 44416cfa20
2 changed files with 2 additions and 2 deletions

View File

@ -1313,7 +1313,7 @@ class Core {
}
}
db.folder().setFolderSync(folder.id, new Date().getTime());
db.folder().setFolderLastSync(folder.id, new Date().getTime());
db.folder().setFolderError(folder.id, null);
} finally {

View File

@ -282,7 +282,7 @@ public interface DaoFolder {
int setFolderUidValidity(long id, Long uidv);
@Query("UPDATE folder SET last_sync = :last_sync WHERE id = :id")
int setFolderSync(long id, long last_sync);
int setFolderLastSync(long id, long last_sync);
@Query("UPDATE folder SET read_only = :read_only WHERE id = :id")
int setFolderReadOnly(long id, boolean read_only);