1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 00:58:50 -05:00

Fix SQL statmeent

This commit is contained in:
Jesse Vincent 2009-12-27 16:50:28 +00:00
parent 9bcc991ec8
commit 9ba102599f

View File

@ -1261,10 +1261,8 @@ public class LocalStore extends Store implements Serializable
{
return getMessages(
listener,
"SELECT "
+ "FROM messages "
+ GET_MESSAGES_COLS
+ "WHERE "
"SELECT " + GET_MESSAGES_COLS
+ "FROM messages WHERE "
+ (includeDeleted ? "" : "deleted = 0 AND ")
+ " folder_id = ? ORDER BY date DESC"
, new String[]