diff options
author | 2014-06-17 16:29:44 +0700 | |
---|---|---|
committer | 2014-06-17 16:29:44 +0700 | |
commit | 3ba6237fa51d77bd6da0557a19ca729e70d76d1c (patch) | |
tree | b39e06f9585f10b78a545179ff9ae5a7fcf3beb9 /src/java/com/juick/http/www/Main.java | |
parent | 186016ac2e03c10497e30c9a651dc9757108b489 (diff) |
- isMobileRequest;
- Dev
* blockquote -> q
Diffstat (limited to 'src/java/com/juick/http/www/Main.java')
-rw-r--r-- | src/java/com/juick/http/www/Main.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/java/com/juick/http/www/Main.java b/src/java/com/juick/http/www/Main.java index a81c1ba1..ec7c4e1e 100644 --- a/src/java/com/juick/http/www/Main.java +++ b/src/java/com/juick/http/www/Main.java @@ -49,7 +49,6 @@ public class Main extends HttpServlet implements Stream.StreamListener { Stream xmpp; Home home = new Home(); Discover discover = new Discover(); - Dev dev = new Dev(); PM pm = new PM(); Login login = new Login(); Help help = new Help(); @@ -193,13 +192,6 @@ public class Main extends HttpServlet implements Stream.StreamListener { help.doGetHelp(sql, request, response); } else if (uri.startsWith("/tag/")) { discover.doGet(sql, sqlSearch, request, response); - } else if (uri.equals("/dev")) { - com.juick.User visitor = Utils.getVisitorUser(sql, request, response); - if (visitor != null && visitor.UID == 1) { - dev.doGet(sql, request, response); - } else { - Errors.doGet404(sql, request, response); - } } else if (uri.matches("^/\\d+$")) { String strID = request.getRequestURI().substring(1); int mid = 0; |