aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server/src/main/java')
-rw-r--r--juick-server/src/main/java/com/juick/service/CrosspostService.java2
-rw-r--r--juick-server/src/main/java/com/juick/service/CrosspostServiceImpl.java6
2 files changed, 0 insertions, 8 deletions
diff --git a/juick-server/src/main/java/com/juick/service/CrosspostService.java b/juick-server/src/main/java/com/juick/service/CrosspostService.java
index 812d798f..467d1cbe 100644
--- a/juick-server/src/main/java/com/juick/service/CrosspostService.java
+++ b/juick-server/src/main/java/com/juick/service/CrosspostService.java
@@ -40,8 +40,6 @@ public interface CrosspostService {
boolean createVKUser(long vkID, String loginhash, String token, String vkName, String vkLink);
- boolean setUserRef(int uid, int ref);
-
String getFacebookNameByHash(String hash);
String getTelegramNameByHash(String hash);
diff --git a/juick-server/src/main/java/com/juick/service/CrosspostServiceImpl.java b/juick-server/src/main/java/com/juick/service/CrosspostServiceImpl.java
index 4b3bd618..965f2b51 100644
--- a/juick-server/src/main/java/com/juick/service/CrosspostServiceImpl.java
+++ b/juick-server/src/main/java/com/juick/service/CrosspostServiceImpl.java
@@ -173,12 +173,6 @@ public class CrosspostServiceImpl extends BaseJdbcService implements CrosspostSe
vkID, loginhash, token, vkName, vkLink) > 0;
}
- @Transactional
- @Override
- public boolean setUserRef(int uid, int ref) {
- return getJdbcTemplate().update("INSERT INTO users_refs(user_id,ref) VALUES (?,?)", uid, ref) > 0;
- }
-
@Transactional(readOnly = true)
@Override
public String getFacebookNameByHash(String hash) {