diff options
author | Ugnich Anton | 2013-10-23 23:20:37 +0700 |
---|---|---|
committer | Ugnich Anton | 2013-10-23 23:20:37 +0700 |
commit | 1ff9fecd9342970bdc4a835ee5a57a5f27cdd206 (patch) | |
tree | 98706fb2ddf4942fd2eaa5c307092d2ead0ebd5a /src/java/com/juick/http/www/User.java | |
parent | dfaed35136ba1ed24cfb49acb87e837a11a2a8d1 (diff) |
Hide PM button
Diffstat (limited to 'src/java/com/juick/http/www/User.java')
-rw-r--r-- | src/java/com/juick/http/www/User.java | 6 |
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/>"); |