summaryrefslogtreecommitdiffstats
path: root/store/sql_post_store.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/sql_post_store.go')
-rw-r--r--store/sql_post_store.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/store/sql_post_store.go b/store/sql_post_store.go
index 388414cd9..6db2d5992 100644
--- a/store/sql_post_store.go
+++ b/store/sql_post_store.go
@@ -17,7 +17,7 @@ import (
)
type SqlPostStore struct {
- *SqlStore
+ SqlStore
}
const (
@@ -36,7 +36,7 @@ func ClearPostCaches() {
lastPostsCache.Purge()
}
-func NewSqlPostStore(sqlStore *SqlStore) PostStore {
+func NewSqlPostStore(sqlStore SqlStore) PostStore {
s := &SqlPostStore{sqlStore}
for _, db := range sqlStore.GetAllConns() {