aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/PrivacyQueriesService.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-08-09 11:47:11 +0300
committerGravatar Vitaly Takmazov2019-08-09 11:47:11 +0300
commit4f1b9963598fcd9d24a05c21560934b78709f031 (patch)
tree8220f32f2811703563408e80b8a60dc44f3701a4 /src/main/java/com/juick/service/PrivacyQueriesService.java
parentba27618f479974e8cef76c19e498d8d33106c043 (diff)
Revert "Evict caches on user changes, fix tests"
This reverts commit 17578516fe0978602ddfac56055cfb1d1b2e0121.
Diffstat (limited to 'src/main/java/com/juick/service/PrivacyQueriesService.java')
-rw-r--r--src/main/java/com/juick/service/PrivacyQueriesService.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/com/juick/service/PrivacyQueriesService.java b/src/main/java/com/juick/service/PrivacyQueriesService.java
index b208c446..17dd6a9b 100644
--- a/src/main/java/com/juick/service/PrivacyQueriesService.java
+++ b/src/main/java/com/juick/service/PrivacyQueriesService.java
@@ -19,7 +19,6 @@ package com.juick.service;
import com.juick.Tag;
import com.juick.User;
-import org.springframework.cache.annotation.CacheEvict;
/**
* Created by aalexeev on 11/13/16.
@@ -29,9 +28,7 @@ public interface PrivacyQueriesService {
Removed, Added
}
- @CacheEvict(value = { "discussions", "messages", "replies" }, allEntries = true)
PrivacyResult blacklistUser(User user, User target);
- @CacheEvict(value = { "discussions", "messages", "replies" }, allEntries = true)
PrivacyResult blacklistTag(User user, Tag tag);
}