diff options
author | 2016-07-11 10:16:36 +0300 | |
---|---|---|
committer | 2016-07-11 10:16:36 +0300 | |
commit | 7eb3b141e5e4e719e1ef77ea06b6bac7610ae913 (patch) | |
tree | 1573abb9b47f5001053ed07b8ba9164c8fc5a188 /juick-core/src/main/java/com/juick/server/ShowQueries.java | |
parent | f0a60dd95eff153c022bca0c71fed39b901dd547 (diff) |
cleanup sql
Diffstat (limited to 'juick-core/src/main/java/com/juick/server/ShowQueries.java')
-rw-r--r-- | juick-core/src/main/java/com/juick/server/ShowQueries.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-core/src/main/java/com/juick/server/ShowQueries.java b/juick-core/src/main/java/com/juick/server/ShowQueries.java index 3ddff412..b55117c1 100644 --- a/juick-core/src/main/java/com/juick/server/ShowQueries.java +++ b/juick-core/src/main/java/com/juick/server/ShowQueries.java @@ -18,7 +18,7 @@ public class ShowQueries { "AND subscr_users.user_id NOT IN (SELECT bl_user_id FROM bl_users WHERE user_id=?) " + "AND subscr_users.user_id!=? AND users.lastmessage>UNIX_TIMESTAMP()-259200 " + "GROUP BY subscr_users.user_id ORDER BY count(*) DESC LIMIT 10", - String.class, new Object[] {forUser.getUID(), forUser.getUID(), forUser.getUID(), forUser.getUID()}); + String.class, forUser.getUID(), forUser.getUID(), forUser.getUID(), forUser.getUID()); } public static List<String> getTopUsers(JdbcTemplate sql) { |