From d7a82c339d155c544f089242daefe754110e8595 Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Mon, 3 Feb 2014 02:39:04 +0700 Subject: - /username/info --- src/java/com/juick/http/www/Main.java | 2 -- src/java/com/juick/http/www/User.java | 3 --- 2 files changed, 5 deletions(-) (limited to 'src/java/com/juick/http') diff --git a/src/java/com/juick/http/www/Main.java b/src/java/com/juick/http/www/Main.java index 47b94387..2417e6c8 100644 --- a/src/java/com/juick/http/www/Main.java +++ b/src/java/com/juick/http/www/Main.java @@ -214,8 +214,6 @@ public class Main extends HttpServlet implements Stream.StreamListener { if (user != null && user.UName.equals(uriparts[1])) { if (uriparts.length == 2) { // http://juick.com/username/ pagesUser.doGetBlog(sql, sqlSearch, request, response, user); - } else if (uriparts[2].equals("info")) { - pagesUser.doGetInfo(sql, request, response, user); } else if (uriparts[2].equals("tags")) { pagesUser.doGetTags(sql, request, response, user); } else if (uriparts[2].equals("friends")) { diff --git a/src/java/com/juick/http/www/User.java b/src/java/com/juick/http/www/User.java index 1c6d1d3e..a7e4a62a 100644 --- a/src/java/com/juick/http/www/User.java +++ b/src/java/com/juick/http/www/User.java @@ -138,9 +138,6 @@ public class User { } } - protected void doGetInfo(Connection sql, HttpServletRequest request, HttpServletResponse response, com.juick.User user) throws ServletException, IOException { - } - protected void doGetTags(Connection sql, HttpServletRequest request, HttpServletResponse response, com.juick.User user) throws ServletException, IOException { com.juick.User visitor = Utils.getVisitorUser(sql, request, response); -- cgit v1.2.3