aboutsummaryrefslogtreecommitdiff
path: root/src/com/juick/server/MessagesQueries.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2013-10-31 14:06:21 +0700
committerGravatar Ugnich Anton2013-10-31 14:06:21 +0700
commitdbf04c83e5b5aaef220e543554c66e74680ba62e (patch)
tree9c01b90589a0d0c327474b43f39758ac5082b1eb /src/com/juick/server/MessagesQueries.java
parent73407176f75e66bd47f08046496e0a301217a010 (diff)
-Groups, -Chats, -Places
Diffstat (limited to 'src/com/juick/server/MessagesQueries.java')
-rw-r--r--src/com/juick/server/MessagesQueries.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/juick/server/MessagesQueries.java b/src/com/juick/server/MessagesQueries.java
index 613b09f1..017c3350 100644
--- a/src/com/juick/server/MessagesQueries.java
+++ b/src/com/juick/server/MessagesQueries.java
@@ -144,9 +144,9 @@ public class MessagesQueries {
msg.Privacy = rs.getInt(6);
msg.Replies = rs.getInt(7);
msg.AttachmentType = rs.getString(8);
- if (rs.getInt(9) > 0) {
- msg.Place = PlacesQueries.getPlace(sql, rs.getInt(9));
- }
+ //if (rs.getInt(9) > 0) {
+ // msg.Place = PlacesQueries.getPlace(sql, rs.getInt(9));
+ //}
if (rs.getDouble(10) != 0) {
msg.Place = new com.juick.Place();
msg.Place.lat = rs.getDouble(10);
@@ -319,7 +319,7 @@ public class MessagesQueries {
return mids;
}
- public static ArrayList<Integer> getTag(Connection sql, int tid, int visitor_uid, int before,int cnt) {
+ public static ArrayList<Integer> getTag(Connection sql, int tid, int visitor_uid, int before, int cnt) {
ArrayList<Integer> mids = new ArrayList<Integer>(20);
PreparedStatement stmt = null;