aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java
diff options
context:
space:
mode:
authorGravatar you2017-05-27 13:52:55 +0300
committerGravatar you2017-05-27 13:52:55 +0300
commitdc430dec23586fd8a6ed3a0cc272f7cb1d8a8d88 (patch)
treef811cab95de96dd94f7dc6bf9f031944901883b8 /juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java
parent97e743385c94ac8a6084726d499c33373e255177 (diff)
readonly mode is now provided by Cloudflare
Diffstat (limited to 'juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java')
-rw-r--r--juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java b/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java
index 11ea0cbf..318b5805 100644
--- a/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java
+++ b/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java
@@ -811,10 +811,4 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ
return reply;
}, -hours);
}
-
- @Transactional(readOnly = true)
- @Override
- public boolean isReadonly() {
- return getJdbcTemplate().queryForObject("SELECT @@global.read_only", Integer.class) > 0;
- }
}