Drop requirement for synchronizing unified folder

This commit is contained in:
M66B 2019-07-21 09:50:17 +02:00
parent 8241d19d09
commit 3037791282
1 changed files with 1 additions and 2 deletions

View File

@ -157,8 +157,7 @@ public interface DaoFolder {
@Query("SELECT folder.type" + @Query("SELECT folder.type" +
" FROM folder" + " FROM folder" +
" JOIN account ON account.id = folder.account" + " JOIN account ON account.id = folder.account" +
" WHERE folder.synchronize" + " WHERE account.synchronize" +
" AND account.synchronize" +
" AND folder.type <> '" + EntityFolder.USER + "'" + " AND folder.type <> '" + EntityFolder.USER + "'" +
" GROUP BY folder.type" + " GROUP BY folder.type" +
" HAVING COUNT(folder.id) > 1") " HAVING COUNT(folder.id) > 1")