aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-01-18 23:25:50 +0300
committerGravatar Vitaly Takmazov2016-01-18 23:25:50 +0300
commitbace08c34252bffd3a575ca86b2b2f420165a81b (patch)
tree0bca793644b3643bae42eb4423c42cc2996b84c6
parentc492429b25c1ef711620a4f509975c7edc3ffa4a (diff)
disable sending debug to ugnich
-rw-r--r--src/main/java/com/juick/http/www/UserThread.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/com/juick/http/www/UserThread.java b/src/main/java/com/juick/http/www/UserThread.java
index 8b6707eb..fe5ca32f 100644
--- a/src/main/java/com/juick/http/www/UserThread.java
+++ b/src/main/java/com/juick/http/www/UserThread.java
@@ -88,9 +88,6 @@ public class UserThread {
PageTemplates.pageFooter(request, out, visitor, false);
out.println("<script type='text/javascript'>");
- if (visitor != null && visitor.getUID() == 1 && msg.getUser().getUID() == 1) {
- out.println("var juickDebug=1;");
- }
out.println("var pageMID=" + msg.getMID() + ";");
out.println("initWS();");
out.println("</script>");