aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-04-07 11:01:29 +0300
committerGravatar Vitaly Takmazov2017-04-07 11:01:29 +0300
commit47d7e0e533687b204e6c781f0dce57ca54e01348 (patch)
tree9fa81730de771be5695a544a24d63d0ae1992cfc /juick-server/src/main/java/com/juick
parent9820abe11c0c037f50bb2f7ddbb0bd19646264dc (diff)
juick-www: refactoring, drop userref shit
Diffstat (limited to 'juick-server/src/main/java/com/juick')
-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) {