diff options
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; |