diff options
author | Vitaly Takmazov | 2023-01-15 06:59:04 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-15 06:59:04 +0300 |
commit | 9cc0391c14f64a5b6e0835f1ed07f56304372cf5 (patch) | |
tree | 2822f92002bebee48da5e0bfa11176d0cddd83c1 /src/main/java/com/juick/service/UserServiceImpl.java | |
parent | b164110c9262b6808843bda7db60d2903878a70b (diff) |
Drop unused table and methods
Diffstat (limited to 'src/main/java/com/juick/service/UserServiceImpl.java')
-rw-r--r-- | src/main/java/com/juick/service/UserServiceImpl.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/main/java/com/juick/service/UserServiceImpl.java b/src/main/java/com/juick/service/UserServiceImpl.java index 69ca7569..4bc28afa 100644 --- a/src/main/java/com/juick/service/UserServiceImpl.java +++ b/src/main/java/com/juick/service/UserServiceImpl.java @@ -625,16 +625,6 @@ public class UserServiceImpl extends BaseJdbcService implements UserService { return getJdbcTemplate().queryForList("SELECT email FROM emails WHERE user_id=?", String.class, user.getUid()); } - @Transactional(readOnly = true) - @Override - public String getEmailHash(final User user) { - List<String> list = getJdbcTemplate().queryForList( - "SELECT hash FROM mail WHERE user_id = ?", - String.class, - user.getUid()); - return list.isEmpty() ? StringUtils.EMPTY : list.get(0) + "@mail.juick.com"; - } - @Transactional @Override public boolean deleteJID(int uid, String jid) { |