aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2013-10-23 23:20:37 +0700
committerGravatar Ugnich Anton2013-10-23 23:20:37 +0700
commit1ff9fecd9342970bdc4a835ee5a57a5f27cdd206 (patch)
tree98706fb2ddf4942fd2eaa5c307092d2ead0ebd5a
parentdfaed35136ba1ed24cfb49acb87e837a11a2a8d1 (diff)
Hide PM button
-rw-r--r--src/java/com/juick/http/www/User.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/com/juick/http/www/User.java b/src/java/com/juick/http/www/User.java
index e91076e0..64675044 100644
--- a/src/java/com/juick/http/www/User.java
+++ b/src/java/com/juick/http/www/User.java
@@ -304,9 +304,9 @@ public class User {
} else {
out.println(" <li><a href=\"/post?body=BL+%40" + user.UName + "\" title=\"" + rb.getString("(UToolbar) Block") + "\"><div style=\"background-position: -80px 0\"></div></a></li>");
}
- if (!UserQueries.isInBL(sql, user.UID, visitor.UID) && !UserQueries.isInBL(sql, visitor.UID, user.UID)) {
- out.println(" <li><a href=\"/post?body=PM+%40" + user.UName + "\" title=\"" + rb.getString("(UToolbar) Private") + "\"><div style=\"background-position: -112px 0\"></div></a></li>");
- }
+// if (!UserQueries.isInBL(sql, user.UID, visitor.UID) && !UserQueries.isInBL(sql, visitor.UID, user.UID)) {
+// out.println(" <li><a href=\"/post?body=PM+%40" + user.UName + "\" title=\"" + rb.getString("(UToolbar) Private") + "\"><div style=\"background-position: -112px 0\"></div></a></li>");
+// }
out.println(" </ul>");
} else {
out.println(" <hr/>");