diff options
Diffstat (limited to 'store/sql_user_store.go')
-rw-r--r-- | store/sql_user_store.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/store/sql_user_store.go b/store/sql_user_store.go index e6054365c..4aa6f6cfe 100644 --- a/store/sql_user_store.go +++ b/store/sql_user_store.go @@ -33,7 +33,7 @@ const ( ) type SqlUserStore struct { - *SqlStore + SqlStore } var profilesInChannelCache *utils.Cache = utils.NewLru(PROFILES_IN_CHANNEL_CACHE_SIZE) @@ -48,7 +48,7 @@ func (us SqlUserStore) InvalidatProfileCacheForUser(userId string) { profileByIdsCache.Remove(userId) } -func NewSqlUserStore(sqlStore *SqlStore) UserStore { +func NewSqlUserStore(sqlStore SqlStore) UserStore { us := &SqlUserStore{sqlStore} for _, db := range sqlStore.GetAllConns() { |