diff options
author | Vitaly Takmazov | 2023-01-18 11:39:05 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-18 11:39:05 +0300 |
commit | 118464cfdabdad2b943e959e14ceb3012642a301 (patch) | |
tree | 6b5af9ecccaabc422478a2739667bc50380bf396 /src/main/java/com/juick/service/UserService.java | |
parent | 1c96e74ad675c3a7d1b6ab2bb01307a94b8d4212 (diff) |
Drop unused `useroptions` table
Diffstat (limited to 'src/main/java/com/juick/service/UserService.java')
-rw-r--r-- | src/main/java/com/juick/service/UserService.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/main/java/com/juick/service/UserService.java b/src/main/java/com/juick/service/UserService.java index ab060d5f..eeabf42e 100644 --- a/src/main/java/com/juick/service/UserService.java +++ b/src/main/java/com/juick/service/UserService.java @@ -24,11 +24,11 @@ import com.juick.model.AuthResponse; import com.juick.model.ExternalToken; import com.juick.util.UsernameTakenException; +import jakarta.annotation.Nonnull; import org.apache.commons.lang3.tuple.Pair; import org.springframework.cache.annotation.CacheEvict; import org.springframework.cache.annotation.Cacheable; -import javax.annotation.Nonnull; import java.util.Collection; import java.util.List; import java.util.Optional; @@ -42,8 +42,6 @@ public interface UserService { Active } - String getSignUpHashByJID(String jid); - String getSignUpHashByTelegramID(Long telegramId, String username); @CacheEvict(value = { "usernames", "users_by_name" }, allEntries = true) @@ -79,16 +77,10 @@ public interface UserService { @CacheEvict(value = "users_by_name", allEntries = true) boolean updatePassword(User user, String newPassword); - int getUserOptionInt(int uid, String option, int defaultValue); - - int setUserOptionInt(int uid, String option, int value); - User getUserInfo(User user); boolean updateUserInfo(User info); - boolean getCanMedia(int uid); - boolean isInWL(int uid, int check); boolean isInBL(int uid, int check); @@ -107,8 +99,6 @@ public interface UserService { List<User> getUserFriends(int uid); - Integer getUserRecommendations(User user); - List<User> getUserBLUsers(int uid); boolean linkTwitterAccount(User user, String accessToken, String accessTokenSecret, String screenName); |