aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/server/TopManager.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-23 21:48:21 +0300
committerGravatar Vitaly Takmazov2018-10-23 21:48:21 +0300
commitee62ef1659604a373cb1c94d3cf0b1a6fd3946e8 (patch)
tree961903fb3f974aa7a9c1fdebb93e379a64449e2e /juick-server/src/main/java/com/juick/server/TopManager.java
parentaa2a16145a084290cae1b4c8934a19abfbd7ac5d (diff)
Drop Facebook and Messenger apps
Facebook forbids autoposting since 1 August 2018 Messenger bot requires LLC
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/TopManager.java')
-rw-r--r--juick-server/src/main/java/com/juick/server/TopManager.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/juick-server/src/main/java/com/juick/server/TopManager.java b/juick-server/src/main/java/com/juick/server/TopManager.java
index a9157841..e5c00242 100644
--- a/juick-server/src/main/java/com/juick/server/TopManager.java
+++ b/juick-server/src/main/java/com/juick/server/TopManager.java
@@ -19,22 +19,14 @@ package com.juick.server;
import com.juick.Message;
import com.juick.Tag;
-import com.juick.User;
import com.juick.service.MessagesService;
-import com.juick.service.UserService;
import com.juick.service.component.TopEvent;
-import com.juick.util.MessageUtils;
-import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.ApplicationEventPublisher;
-import org.springframework.http.HttpStatus;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
-import org.springframework.web.client.HttpClientErrorException;
-import javax.annotation.PostConstruct;
import javax.inject.Inject;
import java.util.List;
import java.util.stream.Collectors;
@@ -46,8 +38,6 @@ public class TopManager {
private MessagesService messagesService;
@Inject
private ApplicationEventPublisher applicationEventPublisher;
- @Inject
- private TwitterManager twitterManager;
@Scheduled(fixedRate = 3600000)
public void updateTop() {