aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/java/com')
-rw-r--r--juick-www/src/main/java/com/juick/www/controllers/Messages.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/juick-www/src/main/java/com/juick/www/controllers/Messages.java b/juick-www/src/main/java/com/juick/www/controllers/Messages.java
index ce00433b..2af6c21a 100644
--- a/juick-www/src/main/java/com/juick/www/controllers/Messages.java
+++ b/juick-www/src/main/java/com/juick/www/controllers/Messages.java
@@ -205,7 +205,6 @@ public class Messages {
String links = sape.getPageLinks(requestURI, sapeCookie).render();
model.addAttribute("links", links);
}
- model.addAttribute("isModerator", visitor.getUid() == 3694);
return "views/index";
}
@@ -318,7 +317,6 @@ public class Messages {
String links = sape.getPageLinks(requestURI, sapeCookie).render();
model.addAttribute("links", links);
}
- model.addAttribute("isModerator", visitor.getUid() == 3694);
return "views/blog";
}
@@ -442,7 +440,6 @@ public class Messages {
model.addAttribute("tags", tagService.getPopularTags());
model.addAttribute("noindex", before > 0);
model.addAttribute("showAdv", before == 0 && visitor.getUid() == 0);
- model.addAttribute("isModerator", visitor.getUid() == 3694);
model.addAttribute("isSubscribed", tagService.isSubscribed(visitor, paramTag));
model.addAttribute("isInBL", tagService.isInBL(visitor, paramTag));
if (mids.size() >= 20) {
@@ -572,7 +569,6 @@ public class Messages {
.collect(Collectors.joining(", ")) + "\" />\n";
}
model.addAttribute("headers", headers);
- model.addAttribute("isModerator", visitor.getUid() == 3694);
model.addAttribute("visitorSubscribed", messagesService.isSubscribed(visitor.getUid(), msg.getMid()));
model.addAttribute("visitorInBL", userService.isInBL(msg.getUser().getUid(), visitor.getUid()));
model.addAttribute("recomm", messagesService.getMessageRecommendations(msg.getMid()));