diff options
author | Vitaly Takmazov | 2017-04-07 11:01:29 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-04-07 11:01:29 +0300 |
commit | 47d7e0e533687b204e6c781f0dce57ca54e01348 (patch) | |
tree | 9fa81730de771be5695a544a24d63d0ae1992cfc /juick-server/src/main | |
parent | 9820abe11c0c037f50bb2f7ddbb0bd19646264dc (diff) |
juick-www: refactoring, drop userref shit
Diffstat (limited to 'juick-server/src/main')
-rw-r--r-- | juick-server/src/main/java/com/juick/service/CrosspostService.java | 2 | ||||
-rw-r--r-- | juick-server/src/main/java/com/juick/service/CrosspostServiceImpl.java | 6 |
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) { |