diff options
Diffstat (limited to 'src/main/java/com/juick/service/CrosspostService.java')
-rw-r--r-- | src/main/java/com/juick/service/CrosspostService.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/com/juick/service/CrosspostService.java b/src/main/java/com/juick/service/CrosspostService.java index a8e66a68..28b9e8ab 100644 --- a/src/main/java/com/juick/service/CrosspostService.java +++ b/src/main/java/com/juick/service/CrosspostService.java @@ -20,7 +20,6 @@ package com.juick.service; import com.juick.ExternalToken; import com.juick.model.ApplicationStatus; import org.apache.commons.lang3.tuple.Pair; -import org.springframework.cache.annotation.CacheEvict; import javax.annotation.Nonnull; import java.util.Optional; @@ -73,18 +72,15 @@ public interface CrosspostService { String getTelegramNameByHash(String hash); - @CacheEvict(value = "users_by_name", allEntries = true) boolean setFacebookUser(String hash, int uid); String getVKNameByHash(String hash); boolean setVKUser(String hash, int uid); - @CacheEvict(value = "users_by_name", allEntries = true) boolean setTelegramUser(String hash, int uid); String getJIDByHash(String hash); - @CacheEvict(value = "users_by_name", allEntries = true) boolean setJIDUser(String hash, int uid); } |