aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2015-11-03 16:52:58 +0300
committerGravatar Vitaly Takmazov2015-11-03 16:52:58 +0300
commit9d7b2473308fe841d84ce8af9efef164c61518e8 (patch)
tree401352dd39f25b4d2cba9004f6b785122d73f255 /src/main
parent0acc3ca041434ca5486e7def8cb75729995106d5 (diff)
recommended -> UserRecommendations
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/juick/api/Messages.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/api/Messages.java b/src/main/java/com/juick/api/Messages.java
index 76615e44..b7a55361 100644
--- a/src/main/java/com/juick/api/Messages.java
+++ b/src/main/java/com/juick/api/Messages.java
@@ -44,7 +44,7 @@ public class Messages {
public void doGetRecommended(HttpServletRequest request, HttpServletResponse response, int vuid) throws ServletException, IOException {
int before_mid = Utils.parseInt(request.getParameter("before_mid"), 0);
- ArrayList<Integer> mids = MessagesQueries.getRecommended(sql, vuid, before_mid);
+ ArrayList<Integer> mids = MessagesQueries.getUserRecommendations(sql, vuid, before_mid);
if (mids != null && !mids.isEmpty()) {
ArrayList<com.juick.Message> msgs = MessagesQueries.getMessages(sql, mids);
if (msgs != null && !msgs.isEmpty()) {