aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/www')
-rw-r--r--src/main/java/com/juick/www/api/Tags.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/com/juick/www/api/Tags.java b/src/main/java/com/juick/www/api/Tags.java
index c7941925..7d934f38 100644
--- a/src/main/java/com/juick/www/api/Tags.java
+++ b/src/main/java/com/juick/www/api/Tags.java
@@ -43,9 +43,6 @@ public class Tags {
@Visitor User visitor,
@RequestParam(required = false, defaultValue = "0") int user_id
) {
- if (user_id == 0) {
- user_id = visitor.getUid();
- }
if (user_id > 0) {
return tagService.getUserTagStats(user_id);
}