aboutsummaryrefslogtreecommitdiff
path: root/src/com/juick/server/MessagesQueries.java
diff options
context:
space:
mode:
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;