summaryrefslogtreecommitdiffstats
path: root/store/sql_system_store.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2016-01-20 08:07:52 -0600
committer=Corey Hulen <corey@hulen.com>2016-01-20 08:07:52 -0600
commitca33812cb5b83dba0babc244fdf101c78abc046a (patch)
tree9e78c608c77c5f97d53190e3a291efaebc05be44 /store/sql_system_store.go
parentf5eb3c1bcb0c7e367f64bd8e5a0d2d5418f8e2ef (diff)
downloadchat-ca33812cb5b83dba0babc244fdf101c78abc046a.tar.gz
chat-ca33812cb5b83dba0babc244fdf101c78abc046a.tar.bz2
chat-ca33812cb5b83dba0babc244fdf101c78abc046a.zip
PLT-7 adding loc db calls for system table
Diffstat (limited to 'store/sql_system_store.go')
-rw-r--r--store/sql_system_store.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/store/sql_system_store.go b/store/sql_system_store.go
index 1fbdfb333..184e8569f 100644
--- a/store/sql_system_store.go
+++ b/store/sql_system_store.go
@@ -5,6 +5,7 @@ package store
import (
"github.com/mattermost/platform/model"
+ goi18n "github.com/nicksnyder/go-i18n/i18n"
)
type SqlSystemStore struct {
@@ -29,7 +30,7 @@ func (s SqlSystemStore) UpgradeSchemaIfNeeded() {
func (s SqlSystemStore) CreateIndexesIfNotExists() {
}
-func (s SqlSystemStore) Save(system *model.System) StoreChannel {
+func (s SqlSystemStore) Save(T goi18n.TranslateFunc, system *model.System) StoreChannel {
storeChannel := make(StoreChannel)
@@ -47,7 +48,7 @@ func (s SqlSystemStore) Save(system *model.System) StoreChannel {
return storeChannel
}
-func (s SqlSystemStore) Update(system *model.System) StoreChannel {
+func (s SqlSystemStore) Update(T goi18n.TranslateFunc, system *model.System) StoreChannel {
storeChannel := make(StoreChannel)
@@ -65,7 +66,7 @@ func (s SqlSystemStore) Update(system *model.System) StoreChannel {
return storeChannel
}
-func (s SqlSystemStore) Get() StoreChannel {
+func (s SqlSystemStore) Get(T goi18n.TranslateFunc) StoreChannel {
storeChannel := make(StoreChannel)